Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- CatsInterop.type
Members list
Type members
Classlikes
Contextual version of the CatsInterop.
Contextual version of the CatsInterop.
Inherits two utility methods from ToEffect.Contextual and FromEffect.Contextual:
def toEffect[A](rio: RIO[R, A], env: R): F[A]
def fromEffect[A](fa: F[A], env: R): RIO[R, A]
Attributes
- F
the higher-kinded type of a polymorphic effect
- R
the type of ZIO environment
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Value members
Concrete methods
Contextual interop between `F` and [[zio.RIO]].
An environment of type `R` is injected into the effect `F` via `injector`.
The execution of `RIO[R, A]` relies on the environment `R` modified by [[InjectEnv.modify]].
Attributes
- F
the higher-kinded type of a polymorphic effect
- R
the type of ZIO environment
- dispatcher
the instance of cats.effect.std.Dispatcher. Required in order to perform the conversion
- injector
injects the given environment of type
Rinto the effectF
Contextual interop between `F` and [[zio.RIO]].
An environment of type `R` is injected into the effect `F` via `injector`.
The execution of `RIO[R, A]` relies on the environment `R` modified by [[InjectEnv.modify]].
Attributes
- F
the higher-kinded type of a polymorphic effect
- R
the type of ZIO environment
- injector
injects the given environment of type
Rinto the effectF- underlying
the underlying interop between
Fand zio.RIO
Default (non-contextual) interop between F and zio.RIO.
Identical to what https://github.com/zio/interop-cats offers.
Default (non-contextual) interop between F and zio.RIO.
Identical to what https://github.com/zio/interop-cats offers.
Attributes
- F
the higher-kinded type of a polymorphic effect
- R
the type of ZIO environment
- dispatcher
the instance of cats.effect.std.Dispatcher. Required in order to perform the conversion
- See also:
See ToEffect.forAsync and FromEffect.forDispatcher for more details.
Creates an instance of CatsInterop using ToEffect and FromEffect under the hood.
Creates an instance of CatsInterop using ToEffect and FromEffect under the hood.
Attributes
- F
the higher-kinded type of a polymorphic effect
- R
the type of ZIO environment
- from
the conversion from
Fto zio.RIO- to
the conversion from zio.RIO to
F
Deprecated methods
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Attributes
- Deprecated
- true
Implicits
Implicits
Materializes an instance of CatsInterop using ToEffect and FromEffect available in the implicit scope.
Materializes an instance of CatsInterop using ToEffect and FromEffect available in the implicit scope.
Attributes
- F
the higher-kinded type of a polymorphic effect
- R
the type of ZIO environment
- from
the conversion from
Fto zio.RIO- to
the conversion from zio.RIO to
F