Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FromEffect.type
Members list
Type members
Classlikes
Contextual version of the FromEffect.
Contextual version of the FromEffect.
Type parameters
- F
-
the higher-kinded type of a polymorphic effect
- R
-
the type of ZIO environment
Attributes
- Supertypes
- Known subtypes
-
Value members
Concrete methods
Contextual conversion from a polymorphic effect `F` to [[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]].
Type parameters
- F
-
the higher-kinded type of a polymorphic effect
- R
-
the type of ZIO environment
Value parameters
- dispatcher
-
the instance of cats.effect.std.Dispatcher. Required in order to perform the conversion
- injector
-
injects the given environment of type
R
into the effectF
Attributes
Contextual conversion from a polymorphic effect `F` to [[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]].
Type parameters
- F
-
the higher-kinded type of a polymorphic effect
- R
-
the type of ZIO environment
Value parameters
- from
-
the underlying conversion from
F
to zio.RIO - injector
-
injects the given environment of type
R
into the effectF
Attributes
Implicits
Implicits
Default (non-contextual) conversion from a polymorphic effect F
to zio.RIO.
Default (non-contextual) conversion from a polymorphic effect F
to zio.RIO.
Identical to what https://github.com/zio/interop-cats offers.
Type parameters
- F
-
the higher-kinded type of a polymorphic effect
- R
-
the type of ZIO environment
Value parameters
- dispatcher
-
the instance of cats.effect.std.Dispatcher. Required in order to perform the conversion