---
title: "webContentProcessWithBundleID:interruptionHandler:completion:"
framework: browserenginekit
role: symbol
role_heading: Type Method
path: "browserenginekit/bewebcontentprocess/webcontentprocesswithbundleid:interruptionhandler:completion:"
---

# webContentProcessWithBundleID:interruptionHandler:completion:

Launches a web content extension process asynchronously.

## Declaration

```occ
+ (void) webContentProcessWithBundleID:(NSString *) bundleID interruptionHandler:(void (^)()) interruptionHandler completion:(void (^)(BEWebContentProcess *process, NSError *error)) completion;
```

## Parameters

- `bundleID`: The bundle identifier of the web content extension to launch, or nil to use the default bundle identifier for this app’s web content extension.
- `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

Discussion Your browser app can run multiple web content extension processes. The system guarantees that the process launched when it calls your completion handler.

## See Also

### Creating and invalidating extension processes

- [webContentProcessWithInterruptionHandler:completion:](browserenginekit/bewebcontentprocess/webcontentprocesswithinterruptionhandler:completion:.md)
- [invalidate](browserenginekit/bewebcontentprocess/invalidate.md)
