ZioEffect

class ZioEffect[R, E](rts: Runtime[R], liftError: Throwable => E, unliftError: E => Throwable) extends Effect[[_] =>> ZIO[R, E, _$1]]
trait Effect[[_] =>> ZIO[R, E, _$1]]
class Object
trait Matchable
class Any

Value members

Concrete methods

def delay[A](value: => A): ZIO[R, E, A]
def fail[A](e: Throwable): ZIO[R, E, A]
def flatMap[A, B](m: ZIO[R, E, A])(f: A => ZIO[R, E, B]): ZIO[R, E, B]
def fork[A](m: => ZIO[R, E, A])(implicit ec: ExecutionContext): ZIO[R, E, A]
def fromTry[A](value: => Try[A]): ZIO[R, E, A]
def map[A, B](m: ZIO[R, E, A])(f: A => B): ZIO[R, E, B]
def never[T]: ZIO[R, E, T]
def promise[A](callback: Either[Throwable, A] => Unit => Unit): ZIO[R, E, A]
def promiseF[A](callback: Either[Throwable, A] => Unit => ZIO[R, E, Unit]): ZIO[R, E, A]
def pure[A](value: A): ZIO[R, E, A]
def recover[A, AA >: A](m: ZIO[R, E, A])(f: PartialFunction[Throwable, AA]): ZIO[R, E, AA]
def recoverF[A, AA >: A](m: ZIO[R, E, A])(f: PartialFunction[Throwable, ZIO[R, E, AA]]): ZIO[R, E, AA]
def run[A](m: ZIO[R, E, A]): Either[Throwable, A]
def runAsync[A](m: ZIO[R, E, A])(callback: Either[Throwable, A] => Unit): Unit
def sequence[A](in: List[ZIO[R, E, A]]): ZIO[R, E, List[A]]
def start[A](task: => ZIO[R, E, A])(implicit ec: ExecutionContext): ZIO[R, E, Fiber[[_] =>> ZIO[R, E, _$2], A]]
def toFuture[A](m: ZIO[R, E, A]): Future[A]
def unit: ZIO[R, E, Unit]

Inherited methods

def delayAsync[A](value: => ZIO[R, E, A]): ZIO[R, E, A]
Inherited from
Effect
def none[A]: ZIO[R, E, Option[A]]
Inherited from
Effect