langchain.js
    Preparing search index...

    Type Alias UpdatesStreamEvent<UpdateType>

    Stream event with updates to the state after each step. The streamed outputs include the name of the node that produced the update as well as the update.

    type UpdatesStreamEvent<UpdateType> = {
        data: { [node: string]: UpdateType };
        event: "updates";
        id?: string;
    }

    Type Parameters

    • UpdateType
    Index

    Properties

    Properties

    data: { [node: string]: UpdateType }
    event: "updates"
    id?: string