fromNow
scala.concurrent.duration.package$.fromNow$
object fromNow
This object can be used as closing token for declaring a deadline at some future point in time:
import scala.concurrent.duration._
val deadline = 3 seconds fromNow
Attributes
- Source
- package.scala
- Graph
-
- Supertypes
- Self type
-
fromNow.type
In this article