Skip to content

v0.11.0

Choose a tag to compare

@ggoodman ggoodman released this 27 Jul 19:09
d797902

Wait for durable work to become idle

  • Add LedgerWorkers.waitForIdle({ signal }) for deterministic, cancellation-aware orchestration and shutdown.
  • Event-stream and worker-idle waits now stop promptly on cancellation, even while an underlying storage read is still settling.

Use await workers.waitForIdle({ signal }) when a caller needs a reliable idle barrier before closing workers or advancing a larger workflow.