Function OnDemandWorkerFunc.waitIdle

Wait for task queue to empty.

void waitIdle (
  Timeout timeout = Timeout.infinite
) @nogc @safe;

This function waits until the worker fiber exits. This means that not only has the current

Note

Unless independently throttling requests, there is no guarantee that this condition will ever happen.