FutureAwaits

play.api.test.FutureAwaits
trait FutureAwaits

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Helpers.type
Self type

Members list

Value members

Concrete methods

def await[T](future: Future[T])(implicit timeout: Timeout): T

Block until a Promise is redeemed.

Block until a Promise is redeemed.

Attributes

def await[T](future: Future[T], timeout: Long, unit: TimeUnit): T

Block until a Promise is redeemed with the specified timeout.

Block until a Promise is redeemed with the specified timeout.

Attributes