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
outputoutcome:string