//arrow-fx-coroutines/arrow.fx.coroutines/release

release

common infix fun <A> Use<A>.release(release: suspend (A) -> Unit): Resource<A>

common infix fun <A> Resource<A>.release(release: suspend (A) -> Unit): Resource<A>

Composes a release action to a Resource.use action creating a Resource.

Do you like Arrow?

Arrow Org
<