Interface Network
interface Network {
dispose(): void;
flush(): void;
subscribe(...cells: Cell<any>[]): void;
unsubscribe(...cells: Cell<any>[]): void;
}
dispose(): void;
flush(): void;
subscribe(...cells: Cell<any>[]): void;
unsubscribe(...cells: Cell<any>[]): void;
}
Index
Methods
Methods
dispose
Tear down: unsubscribe from every cell, drop internal state.
Returns void
flush
Run the body now (manual mode's only advance; no-op if unchanged).
Returns void
subscribe
Add cells to the topology (idempotent; does NOT fire the body).
Parameters
- ...cells: Cell<any>[]
Returns void
unsubscribe
Remove cells from the topology (idempotent; does NOT fire).
Parameters
- ...cells: Cell<any>[]
Returns void
Handle to a
networkinvocation.