Constant

kreuzberg.Model.Constant
case class Constant[+T](value: T) extends Subscribeable[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Subscribeable[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def dependencies: Seq[Identifier]

Attributes

Definition Classes
override def initial: T

Attributes

Definition Classes
override def subscribe()(using sc: SimpleContext): T

Subscribe to this Value, to be used in SimpleComponentBase

Subscribe to this Value, to be used in SimpleComponentBase

Attributes

Definition Classes

Inherited methods

def map[U](fn: T => U): Subscribeable[U]

Map a subscribable value to something else.

Map a subscribable value to something else.

Attributes

Inherited from:
Subscribeable
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def read(): T

Read the current value.

Read the current value.

Attributes

Inherited from:
Subscribeable