IslandsHandle
What hydrateIslands returns.
What hydrateIslands returns.
Import#
ts
import type { IslandsHandle } from "@shadow-js/dusk/client";
Signature#
ts
interface IslandsHandle {
/** Islands that have mounted their component so far. */
readonly hydrated: number;
/** Stops waiting for the islands that have not started, and removes the listeners. Mounted islands stay. */
dispose(): void;
}
Members#
| Name | Type | Description |
|---|---|---|
hydrated |
readonly hydrated: number |
Islands that have mounted their component so far. |
dispose |
dispose(): void |
Stops waiting for the islands that have not started, and removes the listeners. Mounted islands stay. |