Statements (27)
Predicate | Object |
---|---|
gptkbp:instanceOf |
gptkb:class
|
gptkbp:canBeCancelled |
true
|
gptkbp:canBeNotified |
true
|
gptkbp:canBeWaitedOn |
true
|
gptkbp:compatibleWith |
DispatchObjectProtocol
|
gptkbp:definedIn |
Dispatch framework
|
https://www.w3.org/2000/01/rdf-schema#label |
DispatchWorkItem
|
gptkbp:introducedIn |
gptkb:tvOS_9.0
gptkb:macOS_10.10 iOS 8.0 watchOS 2.0 |
gptkbp:language |
gptkb:Swift
|
gptkbp:method |
cancel()
isCancelled notify(queue:execute:) isCompleted perform() wait(timeout:) |
gptkbp:platform |
gptkb:Grand_Central_Dispatch
Apple platforms |
gptkbp:purpose |
Encapsulates a block of code to be executed on a dispatch queue
|
gptkbp:usedFor |
adding dependencies between tasks
cancelling scheduled work notifying when work completes scheduling work asynchronously |
gptkbp:bfsParent |
gptkb:Swift_Standard_Library
|
gptkbp:bfsLayer |
8
|