ValueDiscard

cps.ValueDiscard
See theValueDiscard companion object
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

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def apply(value: T): Unit

called when value is discarded.

called when value is discarded.

Attributes