arrow-fx / arrow.fx / ResourceOf

ResourceOf

typealias ~~ResourceOf~~<F, E, A> = Kind3<ForResource, F, E, A> Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/

Inheritors

Resource Resource models resource allocation and releasing. It is especially useful when multiple resources that depend on each other need to be acquired and later released in reverse order. When a resource is created one can make use of use to run a computation with the resource. The finalizers are then guaranteed to run afterwards in reverse order of acquisition.sealed class ~~Resource~~<F, E, A> : ResourceOf<F, E, A>

Do you like Arrow?

Arrow Org
<