Gjallarhorn


SignalBase<'a>

Namespace: Gjallarhorn.Internal

Base class which simplifies implementation of standard signals

Constructors

ConstructorDescription
new(dependencies)
Signature: (dependencies:ITracksDependents []) -> SignalBase<'a>

CompiledName: .ctor

Instance members

Instance memberDescription
Dirty()
Signature: unit -> bool

CompiledName: set_Dirty

Dirty()
Signature: unit -> unit

CompiledName: get_Dirty

HasDependencies
Signature: bool
Modifiers: abstract

Default implementations work off single set of dependenices

CompiledName: get_HasDependencies

MarkDirty(arg1)
Signature: obj -> unit
Modifiers: abstract

Notifies us that we need to refresh our value

MarkDirtyGuarded(arg1)
Signature: obj -> unit
Modifiers: abstract

Signals to dependencies that we have updated

OnDisposing()
Signature: unit -> unit
Modifiers: abstract

Called during the disposable process

UpdateAndGetCurrentValue(updateRequired)
Signature: updateRequired:bool -> 'a
Modifiers: abstract

Update and fetch the current value. Implementers should only update if we're dirty.

Value
Signature: 'a

Gets the current value

CompiledName: get_Value

Fork me on GitHub