customValueDiscard

cps.ValueDiscard$package.customValueDiscard
@Deprecated("Use context direct functions and -Wwarn-value-discard compiler option instead")
object customValueDiscard extends CustomTag

marker object for value discarding. When this object is imported into current scope, then discarding values inside async block is translated to summon[ValueDiscard[T]].apply()

Attributes

Deprecated
true
Source
ValueDiscard.scala
Graph
Supertypes
class CustomTag
class Object
trait Matchable
class Any
Self type
In this article