<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macOS: 14.3.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEWebContentProcess/webContentProcessWithInterruptionHandler:completion:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEWebContentProcess(cm)webContentProcessWithInterruptionHandler:completion:"
  },
  "title" : "webContentProcessWithInterruptionHandler:completion:"
}
-->

# webContentProcessWithInterruptionHandler:completion:

Launches a web content extension process asynchronously.

```
+ (void) webContentProcessWithInterruptionHandler:(void (^)()) interruptionHandler completion:(void (^)(BEWebContentProcess *process, NSError *error)) completion;
```

## Parameters

`interruptionHandler`

A block the system calls if the web content extension process exits abnormally.

`completion`

A block the system calls when the process finishes launching.

## Discussion

Your browser app can run multiple web content extension processes.

The system guarantees that the process launched when it calls your completion handler.

This method is equivalent to calling [`webContentProcessWithBundleID:interruptionHandler:completion:`](/documentation/BrowserEngineKit/BEWebContentProcess/webContentProcessWithBundleID:interruptionHandler:completion:), passing `nil` as the bundle identifier.

---

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)