Advanced

Cancellation, limits, concurrency, and continuations.

Advanced

These guides cover the controls you need once run is part of a long-running service, an approval flow, or a multi-user application.

  • Cancellation: stop a run, and pass the cancellation signal through to active host functions.
  • Limits: set resource budgets for source, execution, host function traffic, and results.
  • Concurrency: parallel host function calls, the process-wide worker pool, and admission control.
  • Continuations: build an interrupt-and-resume flow and protect its replay state.

For exact signatures, options, return types, and errors, see the API Reference.