IO3Effect

korolev.cats.IO3Effect
class IO3Effect(runtime: IORuntime) extends Effect[IO]

Attributes

Graph
Supertypes
trait Effect[IO]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def blocking[A](f: => A)(implicit ec: ExecutionContext): IO[A]
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]

Keep in mind that when F has strict semantic, effect should created inside 'fork()' brackets.

Keep in mind that when F has strict semantic, effect should created inside 'fork()' brackets.

Attributes

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]]

Keep in mind that when F has strict semantic, effect should created inside 'start()' brackets.

Keep in mind that when F has strict semantic, effect should created inside 'start()' brackets.

Attributes

def toFuture[A](m: IO[A]): Future[A]
def unit: IO[Unit]

Inherited methods

def delayAsync[A](value: => IO[A]): F[A]

Attributes

Inherited from:
Effect
def none[A]: F[Option[A]]

Attributes

Inherited from:
Effect