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
Source:
package.scala
class Object
trait Matchable
class Any