private async Task <ProcessResult> RunStopStep(StopStep step, CallStack stack) { await stack.EnterStep(this, step); var outputs = await step.Run(stack); stack.ExitProcess(); return(new ProcessResult(step.ReturnValue, outputs)); }
private async Task <Step> RunStep(UserStep step, CallStack stack) { await stack.EnterStep(this, step); var nextStep = await step.Run(stack); stack.ExitStep(); return(nextStep); }