Instance
interface type-only low-levelDeclaration
export interface Instance<A extends Park = Park> {
api: A;
iface: Iface<A, Json>;
/** Pure snapshot of the whole tree; does not touch the running instance. */
park(): ParkedNode;
/** Children-first teardown: drains every effect registered via ctx.effect. */
dispose(): void;
}Members (4)
api
api: Apark
park(): ParkedNodePure snapshot of the whole tree; does not touch the running instance.
@returns
ParkedNodedispose
dispose(): voidChildren-first teardown: drains every effect registered via ctx.effect.
@returns
void