Documentation
¶
Overview ¶
Example approval: human in the loop, two ways.
An await node parks the execution until a named signal arrives (or a timeout routes it elsewhere). Nothing runs while it waits: the deadline is a durable JetStream schedule.
A task can interrupt itself (worker.Interrupt) with a question; the execution waits until Client.Resume answers, then the node runs again with the answer (LangGraph's interrupt()).
go run ./examples/approval
Click to show internal directories.
Click to hide internal directories.