object Live
- Alphabetic
- By Inheritance
- Live
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def live[R, E, A](zio: ZIO[R, E, A]): ZIO[Live[R], E, A]
Provides an effect with the "live" environment.
- def make[R](r: R): UIO[Live[R]]
Constructs a new
Liveinstance with an environmentR.Constructs a new
Liveinstance with an environmentR. This should typically not be necessary asMockEnvironmentprovides access to live versions of all the standard ZIO environmental effects but could be useful if you are creating your own mock interfaces and want to be able to access the live version of these interfaces at the same time. - def makeService[R](r: R): UIO[Service[R]]
Constructs a new
Liveservice that implements theLiveinterface.Constructs a new
Liveservice that implements theLiveinterface. This typically should not be necessary asMockEnvironmentprovides access to live versions of all the standard ZIO environment types but could be useful if you are mixing in interfaces to create your own environment type. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withLive[R, R1, E, E1, A, B](zio: ZIO[R, E, A])(f: (IO[E, A]) => ZIO[R1, E1, B]): ZIO[R with Live[R1], E1, B]
Provides a transformation function with access to the live environment while ensuring that the effect itself is provided with the mock environment.