releaseCase

open infix suspend fun <A> Resource<A>.releaseCase(release: suspend (A, ExitCase) -> Unit): A(source)

Composes a releaseCase action to a Resource value before binding.