Instance Method

activate()

Activates the dispatch object.

Declaration

func activate()

Discussion

Once a dispatch object has been activated, it cannot change its target queue.

See Also

Working with Dispatch Objects

class DispatchObject

DispatchObject is the base class for many dispatch types, including DispatchQueue, DispatchGroup, and DispatchSource.

enum DispatchPredicate

DispatchPredicate represents logical conditions that can be evaluated within a given execution context using the dispatchPrecondition(condition:) method.

func dispatchPrecondition(condition: () -> DispatchPredicate)

Checks a dispatch condition necessary for further execution.