run
Function: run()
run(
def,input,journal):RunResult
Defined in: packages/workflow/src/interpreter.ts:343
Replay a flow against its journal
Pure: no I/O, the same arguments always give the same result.
Parameters
def
the flow definition
input
Record<string, any>
the flow input, by parameter name
journal
outcomes of the finished tasks
Returns
done with the output, error with the uncaught error, or pending with the tasks to run