JSFutureCpsMonad

Type members

Inherited types

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

Value members

Concrete methods

def error[A](ex: Throwable): JSFuture[A]
def flatMap[A, B](fa: JSFuture[A])(f: A => JSFuture[B]): JSFuture[B]
def flatMapTry[A, B](fa: JSFuture[A])(f: Try[A] => JSFuture[B]): JSFuture[B]
def map[A, B](fa: JSFuture[A])(f: A => B): JSFuture[B]
override def mapTry[A, B](fa: JSFuture[A])(f: Try[A] => B): JSFuture[B]
Definition Classes
def pure[A](a: A): JSFuture[A]

Inherited methods

def restore[A](fa: JSFuture[A])(fx: Throwable => JSFuture[A]): JSFuture[A]
Inherited from
CpsTryMonad
def tryImpure[A](a: => JSFuture[A]): JSFuture[A]
Inherited from
CpsTryMonad
def tryPure[A](a: => A): JSFuture[A]
Inherited from
CpsTryMonad
def withAction[A](fa: JSFuture[A])(action: => Unit): JSFuture[A]
Inherited from
CpsTryMonad
def withAsyncAction[A](fa: JSFuture[A])(action: => JSFuture[Unit]): JSFuture[A]
Inherited from
CpsTryMonad