//arrow-fx-coroutines/arrow.fx.coroutines/resource

resource

common fun <A> resource(acquire: suspend () -> A): Use<A>

Marks an acquire operation as the Resource.use step of a Resource.

Do you like Arrow?

Arrow Org
<