Functions that allow fine control over the underlying Temporal workflows
Closes the current workflow execution successfully and creates a new workflow execution.
The new workflow execution is in the same chain as the previous workflow, but it generates another trace file.
It acts as a checkpoint when the workflow gets too long or approaches certain scaling limits.
It accepts input with the same schema as the parent workflow function (inputSchema).
Calling this function must be the last statement in the workflow, accompanied by a return:
Indicates whether the Temporal runtime suggests continuing this workflow as new.
Use this to decide whether to continueAsNew before long waits or at loop boundaries.
Prefer returning the continueAsNew(...) call immediately when this becomes true.
Information about the workflow execution
Internal Temporal workflow id.
The second argument passed to the workflow's
fnfunction.