arrow-fx / arrow.fx.extensions / ResourceFunctor

ResourceFunctor

interface ~~ResourceFunctor~~<F, E> : Functor<ResourcePartialOf<F, E>> 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/

Functions

BR abstract fun BR(): Bracket<F, E>
map open fun <A, B> ResourceOf<F, E, A>.map(f: (A) -> B): Resource<F, E, B>

Inheritors

ResourceApplicative interface ~~ResourceApplicative~~<F, E> : Applicative<ResourcePartialOf<F, E>>, ResourceFunctor<F, E>

Do you like Arrow?

Arrow Org
<