@honua/sdk-js
    Preparing search index...

    Interface ExplorationContext

    Protocol-neutral container for shared exploration state. One context normally backs one Dataset; multiple views attach via bind. State mutations go through dispatch and are visible synchronously to state / snapshot but listeners fire on a microtask so a burst of intents coalesces into a single notification per slice.

    interface ExplorationContext {
        datasetId: string;
        policy: LinkedViewPolicy;
        sourceIds: readonly string[];
        state: ExplorationState;
        bind(view: ViewBinding): ViewHandle;
        connectView(view: ViewBinding): ExplorationViewController;
        dispatch(intent: ExplorationIntent): void;
        dispose(): void;
        restore(snapshot: ExplorationStateSnapshot): void;
        snapshot(): ExplorationStateSnapshot;
        subscribe(
            slice: ExplorationSlice,
            fn: ExplorationListener,
        ): ExplorationUnsubscribe;
    }
    Index

    Properties

    datasetId: string
    sourceIds: readonly string[]

    Methods