Executor
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
So this will try and find the if the current code is running inside of an executor block. It uses a Thread dictionary to maintain the current running Executor. Will never return .Immediate, instead it will return the actual running Executor if known
Declaration
Swift
public static func getCurrentExecutor() -> Executor?
-
Undocumented
-
Will compare to Executors. warning: .Custom Executors can’t be compared and will always return ‘false’ when compared.
Declaration
Swift
public func isEqualTo(e:Executor) -> Bool
-
Undocumented