FutureAsync

cps.compat.FutureAsync
object FutureAsync

Import this object instead cps.* to receive SIP22-compabiliy interface.

Attributes

Source
FutureAsync.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

inline def async[T](inline x: T)(using ec: ExecutionContext): Future[T]

Attributes

Source
FutureAsync.scala
inline def await[T](x: Future[T])(using ec: ExecutionContext): T

Attributes

Source
FutureAsync.scala
inline def transformFutureMonad[T](inline x: T, inline ctx: FutureContext): Future[T]

Attributes

Source
FutureAsync.scala