Has anybody seen a similar behaviour? Should I rather wrap the call in a Future and handle timeout with Future.firstCompletedOf ?
thanks
Simon
val timeoutFuture = play.api.libs.concurrent.Promise.timeout(<timeout result>, <timeout>)
val wsFuture = WS.url(<url>).withRequestTimeout(<timeout>).get()Future.firstCompletedOf(List(wsFuture, timeoutFuture))does anybody know a better solution?