Imagine I have a Duration value defined in my application.conf
file. The documentation says it can parse Durations, but I can't see how.
timeout = 60 milliseconds
Can I parse it directly as a duration value? Ideally I would like to do something like this
val timeout = current.configuration.getMilliseconds("timeout")
(myActor ? GiveMeSomething)(timeout).mapTo[...]
but timeout is an Option[Long]
. Thanks for any tips.