Runner
RunnerSteps
nanoservice-ts / runner/src / RunnerSteps
Class: abstract
RunnerSteps
Defined in: core/runner/src/RunnerSteps.ts:4
Extended by
Constructors
new RunnerSteps()
new RunnerSteps():
RunnerSteps
Returns
Methods
runSteps()
runSteps(
ctx
,steps
,deep
,step_name
):Promise
<Context
>
Defined in: core/runner/src/RunnerSteps.ts:15
Executes a series of steps in the given context.
Parameters
ctx
Context
The context in which the steps are executed.
steps
NodeBase
[]
An array of NanoService steps to be executed.
deep
boolean
= false
A boolean indicating whether the function is being called recursively for flow steps.
step_name
string
= ""
The name of the current step being processed in a flow.
Returns
Promise
<Context
>
A promise that resolves to the updated context after all steps have been executed.
Throws
Throws a GlobalError if any step results in an error.