ValueDiscard

trait ValueDiscard[T]

When cps.customValueDiscard is on, value can be discarded only for types T for which exists ValueDiscard[T]

see chapter in User Guide

Companion
object
Source
ValueDiscard.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(value: T): Unit

called when value is discarded.

called when value is discarded.

Source
ValueDiscard.scala