Documentation
    Preparing search index...

    Interface MockLlmActiveGeneration

    One in-flight generation.

    const active = service.mock.state().active.get('win-1')?.get('g1');
    active?.sequence; // deltas sent so far
    interface MockLlmActiveGeneration {
        cancel: () => void;
        handle: string;
        push: (message: NappletMessage) => void;
        requestId: string;
        sequence: number;
        settled: boolean;
        windowId: string;
    }
    Index

    Properties

    cancel: () => void

    Cancel the pending scheduler step.

    handle: string

    Handle used.

    push: (message: NappletMessage) => void

    Deliver an envelope to the owning window.

    requestId: string

    Request id.

    sequence: number

    Next delta sequence number.

    settled: boolean

    Whether a terminal result was sent.

    windowId: string

    Owning window.