StableRef

ammonite.util.StableRef
trait StableRef[T]

Encapsulates a read-write cell that can be passed around

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Ref[T]

Members list

Value members

Abstract methods

def apply(): T

Get the current value of the this StableRef at this instant in time

Get the current value of the this StableRef at this instant in time

Attributes

def update(t: T): Unit

Set the value of this StableRef to always be the value t

Set the value of this StableRef to always be the value t

Attributes