---
title: "detachNewThread(_:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/thread/detachnewthread(_:)"
---

# detachNewThread(_:)

## Declaration

```swift
class func detachNewThread(_ block: @escaping @Sendable () -> Void)
```
