Scheduler

cats.effect.unsafe.Scheduler
See theScheduler companion object
trait Scheduler

Attributes

Companion
object
Source
Scheduler.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Attributes

Source
Scheduler.scala
def nowMillis(): Long

Attributes

Source
Scheduler.scala
def sleep(delay: FiniteDuration, task: Runnable): Runnable

Schedules a side-effect to run after the delay interval. Produces another side-effect which cancels the scheduling.

Schedules a side-effect to run after the delay interval. Produces another side-effect which cancels the scheduling.

Attributes

Source
Scheduler.scala

Concrete methods

def nowMicros(): Long

Attributes

Source
Scheduler.scala