langchain.js
    Preparing search index...

    Interface Interrupt<TValue>

    An interrupt thrown inside a thread.

    interface Interrupt<TValue = unknown> {
        id?: string;
        ns?: string[];
        resumable?: boolean;
        value?: TValue;
        when?: string & {} | "during";
    }

    Type Parameters

    • TValue = unknown
    Index

    Properties

    id?: string

    The ID of the interrupt.

    ns?: string[]

    The namespace of the interrupt.

    Replaced by interrupt_id

    resumable?: boolean

    Whether the interrupt can be resumed.

    Will be removed in the future.

    value?: TValue

    The value of the interrupt.

    when?: string & {} | "during"

    Will be deprecated in the future.

    Will be removed in the future.