---
title: handleConfigChange()
framework: networkextension
role: symbol
role_heading: Instance Method
path: networkextension/neurlfiltermanager/handleconfigchange()
---

# handleConfigChange()

Sets up an observer for the filter configuration change notification and models it as an asynchronous sequence.

## Declaration

```swift
func handleConfigChange() -> any AsyncSequence<Bool, Never>
```

## Discussion

Discussion The AsyncSequence created by this method produces a Boolean true value every time the filter posts the NEURLFilterConfigurationDidChange notification. Use this method to watch for the configuration change notification and react to it.

## See Also

### Working with the filter configuration

- [setConfiguration(pirServerURL:pirPrivacyPassIssuerURL:pirAuthenticationToken:controlProviderBundleIdentifier:)](networkextension/neurlfiltermanager/setconfiguration(pirserverurl:pirprivacypassissuerurl:pirauthenticationtoken:controlproviderbundleidentifier:).md)
- [loadFromPreferences()](networkextension/neurlfiltermanager/loadfrompreferences().md)
- [saveToPreferences()](networkextension/neurlfiltermanager/savetopreferences().md)
- [removeFromPreferences()](networkextension/neurlfiltermanager/removefrompreferences().md)
