Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        private async Task <Step> RunStep(UserStep step, CallStack stack)
        {
            await stack.EnterStep(this, step);

            var nextStep = await step.Run(stack);

            stack.ExitStep();

            return(nextStep);
        }