Documentation - v0.32.3
    Preparing search index...

    Interface StreamingDraft

    interface StreamingDraft {
        randomId: Long;
        signal?: AbortSignal;
        get finalText(): TextWithEntities;
        "[dispose]"(): void;
        dispose(): void;
        send(text: InputText): Promise<void>;
    }
    Index

    Properties

    Accessors

    Methods

    Properties

    randomId: Long

    Random ID of the draft

    signal?: AbortSignal

    Signal that is aborted once the user stops the draft generation. Only present if canStop was passed, requires updates to be enabled

    Accessors

    Methods