UnsafeRun

trait UnsafeRun[F <: ([_$3] =>> Any)] extends EffectCompat[F]
Abstraction allowing for running IO constructs unsafely.
This is meant to delegate to library-specific constructs for running
effect types.
class Object
trait Matchable
class Any

Type members

Types

Value members

Methods

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

Inherited methods

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

Implicits

Inherited implicits

implicit def effect: Async[F]
Inhertied from
EffectCompat
implicit def parallel: Parallel[F]
Inhertied from
EffectCompat