Interface: UnsafeWorkflowInfo
workflow.UnsafeWorkflowInfo
Unsafe information about the current Workflow Execution.
Never rely on this information in Workflow logic as it will cause non-deterministic behavior.
Properties
isReplaying
• isReplaying: boolean
Methods
now
▸ now(): number
Current system time in milliseconds
The safe version of time is new Date()
and Date.now()
, which are set on the first invocation of a Workflow
Task and stay constant for the duration of the Task and during replay.
Returns
number