private initialize()

in src/orchestrations/TaskOrchestrationExecutor.ts [60:75]


    private initialize(): void {
        // The very first task, to kick-start the generator, is just a dummy/no-op task
        this.currentTask = new NoOpTask();
        this.currentTask.setValue(false, undefined);

        this.sequenceNumber = 0;
        this.willContinueAsNew = false;
        this.openTasks = {};
        this.openEvents = {};
        this.actions = [];
        this.deferredTasks = {};

        this.output = undefined;
        this.exception = undefined;
        this.orchestratorReturned = false;
    }