TaskPool.size

size_t size() @property @safe const pure nothrow

Returns the number of worker threads in the pool.