ZIOCpsMonad

class ZIOCpsMonad[R, E](using `x$1`: ThrowableAdapter[R, E]) extends CpsAsyncMonad[[X] =>> ZIO[R, E, X]]
trait CpsAsyncMonad[[X] =>> ZIO[R, E, X]]
trait CpsTryMonad[[X] =>> ZIO[R, E, X]]
trait CpsMonad[[X] =>> ZIO[R, E, X]]
class Object
trait Matchable
class Any

Type members

Types

type F[T] = ZIO[R, E, T]

Inherited types

type WF[X] = F[X]
Inherited from
CpsMonad

Value members

Concrete methods

def adoptCallbackStyle[A](source: Try[A] => Unit => Unit): F[A]
def error[A](e: Throwable): F[A]
def flatMap[A, B](fa: F[A])(f: A => F[B]): F[B]
def flatMapTry[A, B](fa: F[A])(f: Try[A] => F[B]): F[B]
def map[A, B](fa: F[A])(f: A => B): F[B]
def pure[A](x: A): ZIO[R, E, A]

Inherited methods

def mapTry[A, B](fa: ZIO[R, E, A])(f: Try[A] => B): ZIO[R, E, B]
Inherited from
CpsTryMonad
def restore[A](fa: ZIO[R, E, A])(fx: Throwable => ZIO[R, E, A]): ZIO[R, E, A]
Inherited from
CpsTryMonad
def tryImpure[A](a: => ZIO[R, E, A]): ZIO[R, E, A]
Inherited from
CpsTryMonad
def tryPure[A](a: => A): ZIO[R, E, A]
Inherited from
CpsTryMonad
def withAction[A](fa: ZIO[R, E, A])(action: => Unit): ZIO[R, E, A]
Inherited from
CpsTryMonad
def withAsyncAction[A](fa: ZIO[R, E, A])(action: => ZIO[R, E, Unit]): ZIO[R, E, A]
Inherited from
CpsTryMonad