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
class Object
trait Matchable
class Any