ReadAs

reactives.core.ReadAs
See theReadAs companion object
trait ReadAs[+A] extends ReSource

Allows converting the internal Value of the resource to an external A meant for consumers. Generally, everything that reads a reactive, such as macros or .now, will make use of this.

Attributes

Companion
object
Graph
Supertypes
trait ReSource
class Object
trait Matchable
class Any
Known subtypes
trait MacroAccess[A]
class Reactor[T]
trait Event[T]
class Evt[T]
trait Signal[T]
class Var[A]
Show all

Members list

Type members

Inherited and Abstract types

type State[_]

Additional structure required by schedulers for their propagation. For example, outgoing dependencies, multi-versioned values, locks.

Additional structure required by schedulers for their propagation. For example, outgoing dependencies, multi-versioned values, locks.

Attributes

Inherited from:
ReSource
type Value

The type of the time-changing Value contained in this ReSource

The type of the time-changing Value contained in this ReSource

Attributes

Inherited from:
ReSource

Value members

Abstract methods

def read(v: Value): A

Interprets the internal type to the external type

Interprets the internal type to the external type

Attributes

Inherited and Abstract methods

def info: ReInfo

Developer friendly information about the resource.

Developer friendly information about the resource.

Attributes

Inherited from:
ReSource