Signals

  • Base protocol for signals, which deliver values produced by some source and notify observers when a change is being made.

    See more

    Declaration

    Swift

    public protocol SignalType : AnyObject
  • Base (abstract) implementation of the SignalType protocol.

    See more

    Declaration

    Swift

    open class Signal<T> : SignalType
  • A signal that exposes methods for notifying observers.

    See more

    Declaration

    Swift

    open class SourceSignal<T> : Signal<T>
  • A SourceSignal that allows for a function to be called when an observer is attached.

    See more

    Declaration

    Swift

    public class PipeSignal<T> : SourceSignal<T>
  • An event delivered to a SignalObserver. Note that synchronous signals must only deliver valueChanging events, while asynchronous signals can send a beginPossibleAsyncChange event to signal that a new value may be forthcoming via valueChanging. The underlying signal is not required to deliver a valueChanging after a begin, but every begin must be balanced by an end.

    See more

    Declaration

    Swift

    public enum SignalEvent<T>
  • An observer that responds to events delivered by a Signal.

    See more

    Declaration

    Swift

    public struct SignalObserver<T>
  • Describes a change that is delivered on a signal.

    See more

    Declaration

    Swift

    public struct ChangeMetadata