TaskCpsMonad

object TaskCpsMonad extends ZIOCpsMonad[Any, Throwable]
class ZIOCpsMonad[Any, Throwable]
trait CpsAsyncMonad[[X] =>> ZIO[Any, Throwable, X]]
trait CpsTryMonad[[X] =>> ZIO[Any, Throwable, X]]
trait CpsMonad[[X] =>> ZIO[Any, Throwable, X]]
class Object
trait Matchable
class Any

Type members

Inherited types

type F[T] = ZIO[R, E, T]
Inherited from
ZIOCpsMonad
type WF[X] = F[X]
Inherited from
CpsMonad

Value members

Inherited methods

def adoptCallbackStyle[A](source: Try[A] => Unit => Unit): F[A]
Inherited from
ZIOCpsMonad
def error[A](e: Throwable): F[A]
Inherited from
ZIOCpsMonad
def flatMap[A, B](fa: F[A])(f: A => F[B]): F[B]
Inherited from
ZIOCpsMonad
def flatMapTry[A, B](fa: F[A])(f: Try[A] => F[B]): F[B]
Inherited from
ZIOCpsMonad
def map[A, B](fa: F[A])(f: A => B): F[B]
Inherited from
ZIOCpsMonad
def mapTry[A, B](fa: ZIO[Any, Throwable, A])(f: Try[A] => B): ZIO[Any, Throwable, B]
Inherited from
CpsTryMonad
def pure[A](x: A): ZIO[Any, Throwable, A]
Inherited from
ZIOCpsMonad
def restore[A](fa: ZIO[Any, Throwable, A])(fx: Throwable => ZIO[Any, Throwable, A]): ZIO[Any, Throwable, A]
Inherited from
CpsTryMonad
def throwableAdaper: ThrowableAdapter[Any, Throwable]
Inherited from
ZIOCpsMonad
def tryImpure[A](a: => ZIO[Any, Throwable, A]): ZIO[Any, Throwable, A]
Inherited from
CpsTryMonad
def tryPure[A](a: => A): ZIO[Any, Throwable, A]
Inherited from
CpsTryMonad
def withAction[A](fa: ZIO[Any, Throwable, A])(action: => Unit): ZIO[Any, Throwable, A]
Inherited from
CpsTryMonad
def withAsyncAction[A](fa: ZIO[Any, Throwable, A])(action: => ZIO[Any, Throwable, Unit]): ZIO[Any, Throwable, A]
Inherited from
CpsTryMonad