---
title: "reloadContentBlocker(withIdentifier:completionHandler:)"
framework: mailkit
role: symbol
role_heading: Type Method
path: "mailkit/meextensionmanager/reloadcontentblocker(withidentifier:completionhandler:)"
---

# reloadContentBlocker(withIdentifier:completionHandler:)

## Declaration

```swift
class func reloadContentBlocker(withIdentifier identifier: String, completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
```

```swift
class func reloadContentBlocker(withIdentifier identifier: String) async throws
```

## Discussion

Discussion important: You can call this method from synchronous code using a completion handler, as shown on this page, or you can call it as an asynchronous method that has the following declaration: class func reloadContentBlocker(withIdentifier identifier: String) async throws For information about concurrency and asynchronous code in Swift, see Calling Objective-C APIs Asynchronously.

## See Also

### Type Methods

- [reloadVisibleMessages(completionHandler:)](mailkit/meextensionmanager/reloadvisiblemessages(completionhandler:).md)
