Skip to content

readyOf ​

Function, in @jr2/orchestrator/src/worktree.ts. It is an export of @jr2/orchestrator, in the Effects group of the Authoring surface page.

ts
function readyOf<O extends { outcome: string }>(output: O): Extract<O, { outcome: "ready" }>

The ready output of an onDone arm that isReady guards. xstate carries no guard's narrowing to its actions, so an assign reads the output through this.

Parameters

  • output

    • outcome: string

The docs of Kit version 0.8.0. Each page is also at its .md URL.