MonixUnsafeRun

object MonixUnsafeRun extends UnsafeRun[Task]
trait UnsafeRun[Task]
trait EffectCompat[Task]
trait PlatformEffectCompat[Task]
class Object
trait Matchable
class Any

Type members

Types

type CancelToken = Cancelable

Value members

Concrete methods

def async(task: Task[Unit]): Unit
def background(task: Task[Unit]): Cancelable
def cancel(token: CancelToken): Unit
def sync(task: Task[Unit]): Unit

Inherited methods

def async[A](cb: (Either[Throwable, A] => Unit) => Unit): Task[A]
Inherited from:
EffectCompat
def fromFuture[A](thunk: => Future[A]): Task[A]
Inherited from:
EffectCompat
def realTimeMillis: Task[Long]
Inherited from:
EffectCompat
def sleep(duration: FiniteDuration): Task[Unit]
Inherited from:
EffectCompat

Implicits

Implicits

implicit override val contextShift: ContextShift[Task]
implicit override val effect: Concurrent[Task]
implicit override val parallel: Parallel[Task]
implicit val scheduler: Scheduler
implicit override val timer: Timer[Task]