<!--
{
  "availability" : [
    "iOS: 4.0.0 - 18.0.0",
    "iPadOS: 4.0.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.7.0 - 15.0.0",
    "tvOS: 9.0.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetExportSession/exportAsynchronously(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetExportSession(im)exportAsynchronouslyWithCompletionHandler:"
  },
  "title" : "exportAsynchronously(completionHandler:)"
}
-->

# exportAsynchronously(completionHandler:)

Starts the asynchronous execution of an export session.

```
func exportAsynchronously(completionHandler handler: @escaping @Sendable () -> Void)
```

## Parameters

`handler`

A callback the system invokes when it finishes successfully, or in the event of writing failure.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)