ThreadSafeProperty

public class ThreadSafeProperty<T>

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(_ queue: DispatchQueue, value: T? = nil)
  • val

    Undocumented

    Declaration

    Swift

    public var val: T? { get set }
  • Undocumented

    Declaration

    Swift

    public func getAndSet(new value: T?) -> T?
  • Undocumented

    Declaration

    Swift

    public func set(new value: T?)
  • Undocumented

    Declaration

    Swift

    public func get() -> T?
  • Undocumented

    Declaration

    Swift

    public func hasValue() -> Bool