Submit input values directly to the LangGraph Platform, creating a new thread if necessary. Starts a streaming run and processes events until completion. Unlike submit, this does not handle queueing — if a stream is already active, a concurrent run will be started.
submitDirect(
values: StateType,
submitOptions: SubmitOptions<StateType, GetConfigurableType<Bag>>
): Promise<void>| Name | Type | Description |
|---|---|---|
values* | StateType | The state values to send as run input. |
submitOptions | SubmitOptions<StateType, GetConfigurableType<Bag>> | Optional configuration for the run (config, checkpoint, multitask strategy, optimistic values, etc.). |