Contents

assignCurrentContext

Set the attributes of the work item to match the attributes of the current execution context.

Declaration

static let assignCurrentContext: DispatchWorkItemFlags

Discussion

When this flag is set, the work item inherits attributes such as the quality-of-service class from the dispatch queue or thread responsible for executing the task.

See Also

Work Item Flags