IOEffect

object IOEffect extends Effect[IO]
trait Effect[IO]
class Object
trait Matchable
class Any

Value members

Concrete methods

def delay[A](value: => A): IO[A]
def fail[A](e: Throwable): IO[A]
def flatMap[A, B](m: IO[A])(f: A => IO[B]): IO[B]
def fork[A](m: => IO[A])(implicit ec: ExecutionContext): IO[A]
def fromTry[A](value: => Try[A]): IO[A]
def map[A, B](m: IO[A])(f: A => B): IO[B]
def never[T]: IO[T]
def promise[A](cb: Either[Throwable, A] => Unit => Unit): IO[A]
def promiseF[A](cb: Either[Throwable, A] => Unit => IO[Unit]): IO[A]
def pure[A](value: A): IO[A]
def recover[A, AA >: A](m: IO[A])(f: PartialFunction[Throwable, AA]): IO[AA]
def recoverF[A, AA >: A](m: IO[A])(f: PartialFunction[Throwable, IO[AA]]): IO[AA]
def run[A](m: IO[A]): Either[Throwable, A]
def runAsync[A](m: IO[A])(callback: Either[Throwable, A] => Unit): Unit
def sequence[A](in: List[IO[A]]): IO[List[A]]
def start[A](m: => IO[A])(implicit ec: ExecutionContext): IO[Fiber[IO, A]]
def toFuture[A](m: IO[A]): Future[A]
def unit: IO[Unit]

Inherited methods

def delayAsync[A](value: => IO[A]): IO[A]
Inherited from:
Effect
def none[A]: IO[Option[A]]
Inherited from:
Effect