Ref

ammonite.util.Ref
See theRef companion object
trait Ref[T] extends StableRef[T]

Attributes

Companion:
object
Graph
Supertypes
trait StableRef[T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def bind(t: => T): Unit

Set the value of this Ref to always be the value of the by-name argument t, at any point in time

Set the value of this Ref to always be the value of the by-name argument t, at any point in time

Attributes

def live(): () => T

Return a function that can be used to get the value of this Ref at any point in time

Return a function that can be used to get the value of this Ref at any point in time

Attributes

Inherited 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

Inherited from:
StableRef
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

Inherited from:
StableRef