Package arrow.fx.coroutines.continuations

Types

Link copied to clipboard
interface ResourceScope

Computation block for the Resource type. The Resource allows us to describe resources as immutable values, and compose them together in simple ways. This way you can split the logic of what a Resource is and how it should be closed from how you use them.

Functions

Link copied to clipboard
fun <A> resource(f: suspend ResourceScope.() -> A): Resource<A>