Property

public class Property<E> : Observable<E>, Subject

Represents a property like object. whenever the property value changes it notfies all of the subscribers. A property can also be bound into reactive components.

  • Undocumented

    Declaration

    Swift

    public var value: E { get set }
  • Declaration

    Swift

    public func on(_ event: Event<E>)
  • Undocumented

    Declaration

    Swift

    public init(_ value: E)
  • Undocumented

    Declaration

    Swift

    public override func subscribe<O>(_ observer: O) -> Cancelable where E == O.Element, O : ObserverProtocol
  • Undocumented

    Declaration

    Swift

    public func cancel()