Skip to main content

Interface: WorkflowResultOptions<R>

Options for getting a result of a Workflow execution.

Extended by​

Type Parameters​

R​

R = any

Properties​

followRuns?​

optional followRuns?: boolean

If set to true, instructs the client to follow the chain of execution before returning a Workflow's result.

Workflow execution is chained if the Workflow has a cron schedule or continues-as-new or configured to retry after failure or timeout.

Default​

true

typeInfo?​

optional typeInfo?: Replace<PayloadTypeInfo, OutputTypeInfo<R>>

Experimental

Type information used to decode the Workflow result.

This is only needed when getting a result from an existing Workflow handle or when the Workflow definition is not available to this client.