arrow-fx / arrow.fx / Semaphore / acquire

acquire

open fun acquire(): Kind<F, Unit>

Acquire a resource Suspending the Fiber running the action until the resource is available.

See Also

acquireN

Do you like Arrow?

Arrow Org
<