langchain.js
    Preparing search index...

    Type Alias UseStreamCustom<StateType, Bag>

    UseStreamCustom: Pick<
        UseStream<StateType, Bag>,

            | "values"
            | "error"
            | "isLoading"
            | "stop"
            | "interrupt"
            | "messages"
            | "toolCalls"
            | "getToolCalls",
    > & {
        submit: (
            values: GetUpdateType<Bag, StateType> | null | undefined,
            options?: CustomSubmitOptions<StateType, GetConfigurableType<Bag>>,
        ) => Promise<void>;
    }

    Type Parameters