20 while (!_tasks.
Empty()) {
Callable that can be executed in an IExecutor.
Type Tag() const noexcept final
Return type of this executor.
void Submit(Job &f) noexcept final
Submit given job.
bool Alive() const noexcept final
Return true if executor still alive, that means job passed to submit will be Call.
std::size_t Drain() noexcept
bool Empty() const noexcept
Node & PopFront() noexcept
IExecutorPtr MakeManual()
Contract< V, E > MakeContract()
Creates related future and promise.