SourceSignal
open class SourceSignal<T> : Signal<T>
A signal that exposes methods for notifying observers.
-
Undocumented
Declaration
Swift
public override init() -
Undocumented
Declaration
Swift
public override func addObserver(_ observer: Observer) -> ObserverRemoval -
Delivers a
.beginPossibleAsyncChangeevent to all observers of this signal.Declaration
Swift
public func notifyBeginPossibleAsyncChange() -
Delivers a
.valueChangingevent to all observers of this signal.Declaration
Swift
public func notifyValueChanging(_ change: T, _ metadata: ChangeMetadata) -
Delivers a
.valueChangingevent to all observers of this signal.Declaration
Swift
public func notifyValueChanging(_ change: T, transient: Bool = false) -
Delivers an
.endPossibleAsyncChangeevent to all observers of this signal.Declaration
Swift
public func notifyEndPossibleAsyncChange() -
Undocumented
Declaration
Swift
public override var observerCount: Int { get }
-
Shorthand for delivering an empty
.valueChangingevent to all observers of this signal.Declaration
Swift
public func notifyAction()
SourceSignal Class Reference