public constructor()

in src/task/CallHttpWithPollingTask.ts [28:42]


    public constructor(
        id: TaskID,
        action: CallHttpAction,
        private readonly orchestrationContext: DurableOrchestrationContext,
        private readonly executor: TaskOrchestrationExecutor,
        defaultHttpAsyncRequestSleepTimeMillseconds: number
    ) {
        super([new AtomicTask(id, action)], action);
        this.id = id;
        this.action = action;
        this.defaultHttpAsyncRequestSleepDuration = moment.duration(
            defaultHttpAsyncRequestSleepTimeMillseconds,
            "ms"
        );
    }