Packages

c

zio.interop.monix

ExtraZioEffectOps

implicit final class ExtraZioEffectOps[-R, +A] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtraZioEffectOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExtraZioEffectOps(effect: ZIO[R, Throwable, A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def toMonixTask: URIO[R, monix.eval.Task[A]]

    Converts this ZIO effect into a Monix task.

    Converts this ZIO effect into a Monix task.

    The conversion is lazy: this effect will only be executed if the returned Monix task is executed. If the returned Monix task is cancelled, the underlying ZIO effect will be interrupted.

  8. def toMonixTaskUsingRuntime(zioRuntime: Runtime[R]): monix.eval.Task[A]

    Converts this ZIO effect into a Monix task using a specified ZIO runtime to run the ZIO effect.

    Converts this ZIO effect into a Monix task using a specified ZIO runtime to run the ZIO effect.

    This is useful in situations where a Monix task is needed, but executing ZIO effects is incovenient. For example, when using a library API that requires you to pass a function that returns a Monix task. In such situations, you can acquire the ZIO runtime up-front and use this method to create the Monix task.

    The conversion is lazy: this effect will only be executed if the returned Monix task is executed. If the returned Monix task is cancelled, the underlying ZIO effect will be interrupted.

  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped