The BlockingTaskExecutor is a task execution list, which executes tasks one after another.
The difference to the TaskExecutor is that it only uses macro tasks and that task executions can be tracked
by clients.
Example
constexecutor = newBlockingTaskExecutor(); consttask = () => { doSomething(); }; // ... }; // execute the task if others pushed before are finished. constresult = awaitexecutor.push(task);
The BlockingTaskExecutor is a task execution list, which executes tasks one after another. The difference to the TaskExecutor is that it only uses macro tasks and that task executions can be tracked by clients.
Example