MonadAsyncError

sttp.monad.MonadAsyncError
trait MonadAsyncError[F[_]] extends MonadError[F]

Attributes

Graph
Supertypes
trait MonadError[F]
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def async[T](register: (Either[Throwable, T] => Unit) => Canceler): F[T]

Inherited methods

def blocking[T](t: => T): F[T]

Attributes

Inherited from:
MonadError
def ensure[T](f: F[T], e: => F[Unit]): F[T]

Attributes

Inherited from:
MonadError
def error[T](t: Throwable): F[T]

Attributes

Inherited from:
MonadError
def eval[T](t: => T): F[T]

Attributes

Inherited from:
MonadError
def flatMap[T, T2](fa: F[T])(f: T => F[T2]): F[T2]

Attributes

Inherited from:
MonadError
def flatTap[T, U](fa: F[T])(f: T => F[U]): F[T]

Attributes

Inherited from:
MonadError
def flatten[T](ffa: F[F[T]]): F[T]

Attributes

Inherited from:
MonadError
def fromTry[T](t: Try[T]): F[T]

Attributes

Inherited from:
MonadError
def handleError[T](rt: => F[T])(h: PartialFunction[Throwable, F[T]]): F[T]

Attributes

Inherited from:
MonadError
def map[T, T2](fa: F[T])(f: T => T2): F[T2]

Attributes

Inherited from:
MonadError
def suspend[T](t: => F[T]): F[T]

Attributes

Inherited from:
MonadError
def unit[T](t: T): F[T]

Attributes

Inherited from:
MonadError