---
title: detached
framework: dispatch
role: symbol
role_heading: Type Property
path: dispatch/dispatchworkitemflags/detached
---

# detached

Disassociate the work item’s attributes from the current execution context.

## Declaration

```swift
static let detached: DispatchWorkItemFlags
```

## Discussion

Discussion When this flag is set, the system does not apply attributes from the current execution context to the work item.

## See Also

### Work Item Flags

- [assignCurrentContext](dispatch/dispatchworkitemflags/assigncurrentcontext.md)
- [barrier](dispatch/dispatchworkitemflags/barrier.md)
- [enforceQoS](dispatch/dispatchworkitemflags/enforceqos.md)
- [inheritQoS](dispatch/dispatchworkitemflags/inheritqos.md)
- [noQoS](dispatch/dispatchworkitemflags/noqos.md)
