arrow-fx / arrow.fx / Resource / empty

empty

fun <F, E, A> empty(MR: Monoid<A>, BR: Bracket<F, E>): Resource<F, E, A>

Monoid empty. Creates an empty Resource using a given Monoid for A. Use with caution as the value will have no finalizers added.

Do you like Arrow?

Arrow Org
<