Lockable
public protocol Lockable
Undocumented
-
Lock the object.
Declaration
Swift
func lock() -> Bool
-
Unlock the object.
Declaration
Swift
func unlock() -> Bool
-
perform(lockedTask:
Extension method) Perform task under lock.
Declaration
Swift
public func perform(lockedTask task: () -> Void) -> Bool