CustomStreamEvent
A custom event emitted by the LangGraph backend via adispatch_custom_event().
import type { CustomStreamEvent } from '@threadplane/langgraph';Declaration
export interface CustomStreamEvent {
data: unknown;
name: string;
}Members
data
Arbitrary payload from the backend.
data: unknown;name
Event name set by the backend (e.g., 'state_update').
name: string;