Scheduler

org.atnos.eff.concurrent.Scheduler
trait Scheduler

Attributes

Source:
Scheduler.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type Cancel = () => Unit

Attributes

Source:
Scheduler.scala

Value members

Abstract methods

def delay(duration: FiniteDuration): Future[Unit]

return a Future which will only complete after the given duration

return a Future which will only complete after the given duration

Attributes

Source:
Scheduler.scala
def schedule(action: => Unit, duration: FiniteDuration): Cancel

schedule an action which will start after the given duration The return "Cancel" action can allow the action to be cancelled before the duration expires

schedule an action which will start after the given duration The return "Cancel" action can allow the action to be cancelled before the duration expires

Attributes

Source:
Scheduler.scala