Skip to content
HomePagesHomePages template kit

CAPTURE_ISLANDS_READY_GLOBAL

The window property an island-bearing page's host publishes: a promise that settles when every island the host set out to hydrate has mounted.

The window property an island-bearing page’s host publishes: a promise that settles when every island the host set out to hydrate has mounted. This is the island runtime’s own mount tracking, surfaced — not a per-island export (the design rejects those) and not a heuristic the capturer invents.

Published by the HOST that runs the loader, because only the host knows what it asked the loader to do: the CLI dev bootstrap and the render worker’s shell each set it around their own hydrateIslands call. A rejected promise fails the capture — an island that threw paints nothing, and a hole is a defect to surface rather than to ship.

Import from @homepages/template-kit.

const CAPTURE_ISLANDS_READY_GLOBAL: "__trIslandsReady"