serveRequired
(options: RecipeServeOptions) => Promise<void>
Start one named service and its dependencies until cancellation or runtime closure; other declared services remain unconstructed.
enqueueRequired
(options: RecipeEnqueueOptions) => Promise<QueueJob>
Publish a typed recipe parameter mapping to a named queue without starting a workflow or service; close only runtime-owned queue resources.
runRequired
(options?: RecipeRunOptions) => Promise<RecipeReport>
Run one invocation at a time; close its owned resources before returning its report.
resumeRequired
(options: RecipeResumeOptions) => Promise<RecipeReport>
Resume an existing durable run with its original inputs, workspace records and cumulative accounting. Changed identities or missing workspaces fail; interrupted tasks need explicit replay authorization.
statusRequired
(runId: string) => Promise<RecipeRunStatus | undefined>
Read checkpoint revision, ownership, task summaries and retained workspace records without acquiring it; settled runs include their redacted final report.
closeRequired
() => Promise<void>
Prevent further runs, cancel the active run and wait for its cleanup; repeat calls are safe.
[Symbol.asyncDispose]Required
() => Promise<void>
Close the runtime when leaving an await using scope.