---
title: "init(_:)"
framework: Swift
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "swift/unsafecontinuation/init(_:)"
---

# init(_:)

Convert a non-copyable continuation to an UnsafeContinuation.

## Declaration

```swift
init(_ continuation: consuming Continuation<T, E>)
```

## Discussion

Discussion An unsafe continuation may be escaped into contexts where the non-copyable semantics would not be able to statically enforce the resume-once semantics, however the correct use of the continuation is enforced in some way at runtime.
