arrow-fx-coroutines / arrow.fx.coroutines.stream / Scope / Lease
abstract class Lease
Represents one or more resources that were leased from a scope, causing their
lifetimes to be extended until cancel
is invoked on this lease.
<init> | Represents one or more resources that were leased from a scope, causing their lifetimes to be extended until cancel is invoked on this lease.Lease() |
cancel | Cancels the lease of all resources tracked by this lease.abstract suspend fun cancel(): Either< Throwable , Unit > |
Do you like Arrow?
✖