tap

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

Useful for setting up/configuring an acquired resource