langchain.js
    Preparing search index...
    interface EventSourceMessage {
        data: string;
        event: string;
        id: string;
        retry?: number;
    }
    Index

    Properties

    Properties

    data: string

    The event data

    event: string

    A string identifying the type of event described.

    id: string

    The event ID to set the EventSource object's last event ID value.

    retry?: number

    The reconnection interval (in milliseconds) to wait before retrying the connection