CpsTrySupport

cps.CpsTrySupport
trait CpsTrySupport[F[_]] extends CpsThrowSupport[F]

Attributes

Source
CpsMonad.scala
Graph
Supertypes
trait CpsThrowSupport[F]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def flatMapTry[A, B](fa: F[A])(f: Try[A] => F[B]): F[B]

Attributes

Source
CpsMonad.scala
def fromTry[A](ta: Try[A]): F[A]

Attributes

Source
CpsMonad.scala

Concrete methods

def withAsyncErrorHandler[A](fa: => F[A])(f: Throwable => F[A]): F[A]

Attributes

Source
CpsMonad.scala
def withAsyncFinalizer[A](fa: => F[A])(f: => F[Unit]): F[A]

Attributes

Source
CpsMonad.scala

Inherited and Abstract methods

def error[A](e: Throwable): F[A]

represent error e in monadic context.

represent error e in monadic context.

Attributes

Inherited from:
CpsThrowSupport
Source
CpsMonad.scala