MonixTaskEffect

korolev.monix.MonixTaskEffect
class MonixTaskEffect(implicit scheduler: Scheduler) extends Effect[Task]

Attributes

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

Members list

Concise view

Value members

Concrete methods

def blocking[A](f: => A)(implicit ec: ExecutionContext): Task[A]
def delay[A](value: => A): Task[A]
def fail[A](e: Throwable): Task[A]
def flatMap[A, B](m: Task[A])(f: A => Task[B]): Task[B]
def fork[A](m: => Task[A])(implicit ec: ExecutionContext): Task[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]): Task[A]
def map[A, B](m: Task[A])(f: A => B): Task[B]
def never[T]: Task[T]
def promise[A](cb: (Either[Throwable, A] => Unit) => Unit): Task[A]
def promiseF[A](cb: (Either[Throwable, A] => Unit) => Task[Unit]): Task[A]
def pure[A](value: A): Task[A]
def recover[A, AA >: A](m: Task[A])(f: PartialFunction[Throwable, AA]): Task[AA]
def recoverF[A, AA >: A](m: Task[A])(f: PartialFunction[Throwable, Task[AA]]): Task[AA]
def run[A](m: Task[A]): Either[Throwable, A]
def runAsync[A](m: Task[A])(callback: Either[Throwable, A] => Unit): Unit
def sequence[A](in: List[Task[A]]): Task[List[A]]
def start[A](m: => Task[A])(implicit ec: ExecutionContext): Task[Fiber[Task, 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: Task[A]): Future[A]
def unit: Task[Unit]

Inherited methods

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

Attributes

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

Attributes

Inherited from:
Effect