Create a controller around a LangGraph client and optional initial thread.
constructor<
StateType extends object = Record<string, unknown>,
InterruptType = unknown,
ConfigurableType extends object = Record<string, unknown>
>(
options: StreamControllerOptions<StateType>
): StreamController<StateType, InterruptType, ConfigurableType>| Name | Type | Description |
|---|---|---|
options* | StreamControllerOptions<StateType> | Runtime configuration, client, thread id, and initial state. |