withPassivePermit
Executes block while holding a permit from passiveSemaphore, capping concurrent passive collection.
Return
The block's result.
Parameters
block
Suspending work to run under the concurrency limit.
Executes block while holding a permit from passiveSemaphore, capping concurrent passive collection.
The block's result.
Suspending work to run under the concurrency limit.