Observers

public struct Observers<T>

Observers handles a list of observers, supports adding and removing as needed.

  • Undocumented

    Declaration

    Swift

    public mutating func insert(_ observer: T) -> UInt64
  • Undocumented

    Declaration

    Swift

    public mutating func remove(uid: UInt64) -> T?
  • Undocumented

    Declaration

    Swift

    public mutating func removeAll()
  • Undocumented

    Declaration

    Swift

    public var items: [T] { get }