//arrow-fx-coroutines/arrow.fx.coroutines/Resource/tap

tap

common fun <B> tap(f: suspend (A) -> Unit): Resource<A>

Useful for setting up/configuring an acquired resource

Do you like Arrow?

Arrow Org
<