AwaitValueDiscard

cps.AwaitValueDiscard
@Deprecated("use non-wrapped direct values in CpsDirect context and -Wwarn-value-discard compiler option instead")
class AwaitValueDiscard[F[_], T] extends ValueDiscard[F[T]]

Marker interface for forcing monad evaluation before discard. Useful for pure effect monads. AwaitValueDiscard[F,T].apply(ft) is transformed to await(ft) during evaluation of async macro.

Attributes

Deprecated
true
Graph
Supertypes
trait ValueDiscard[F[T]]
class Object
trait Matchable
class Any

Members list

Type members

Types

type FT = F[T]
type TT = T

Value members

Concrete methods

transparent inline override def apply(value: F[T]): Unit

transformed to await(value).

transformed to await(value).

Attributes

Definition Classes