RuntimeProperty

kreuzberg.RuntimeProperty
trait RuntimeProperty[S] extends RuntimeState[S]

A State which can also be set.

Attributes

Graph
Supertypes
trait RuntimeState[S]
class Object
trait Matchable
class Any
Known subtypes
class CrossMapping[S1, S2]
class JsProperty[D, S]

Members list

Value members

Abstract methods

def set(value: S): Unit

Sets the value.

Sets the value.

Attributes

Concrete methods

def xmap[U](mapFn: S => U, contraMapFn: U => S): RuntimeProperty[U]

Maps and Contra Maps the value.

Maps and Contra Maps the value.

Attributes

Inherited methods

def map[S2](f: S => S2): RuntimeState[S2]

Attributes

Inherited from:
RuntimeState

Inherited and Abstract methods

def read(): S

Read the state from Handler

Read the state from Handler

Attributes

Inherited from:
RuntimeState