Interface Network

    Handle to a network invocation.

    interface Network {
        dispose(): void;
        flush(): void;
        subscribe(...cells: Cell<any>[]): void;
        unsubscribe(...cells: Cell<any>[]): void;
    }
    Index

    Methods

    • Tear down: unsubscribe from every cell, drop internal state.

      Returns void

    • Run the body now (manual mode's only advance; no-op if unchanged).

      Returns void

    • Add cells to the topology (idempotent; does NOT fire the body).

      Parameters

      • ...cells: Cell<any>[]

      Returns void

    • Remove cells from the topology (idempotent; does NOT fire).

      Parameters

      • ...cells: Cell<any>[]

      Returns void