release

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

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