DelayedFuture

tinyscalautils.threads.DelayedFuture
object DelayedFuture

Implicit use of timers.

Attributes

Source
Timer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[A](delay: Double)(code: => A)(using timer: Timer): Future[A]

Schedules a delayed task.

Schedules a delayed task.

This is equivalent to timer.schedule(delay)(code) on the implicit timer.

Attributes

Since

1.0

Source
Timer.scala