<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEURLFilterManager/handleConfigChange()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "s:16NetworkExtension18NEURLFilterManagerC18handleConfigChangeSci_pSb7ElementSciRts_s5NeverO7FailureSciRtsXPyF"
  },
  "title" : "handleConfigChange()"
}
-->

# handleConfigChange()

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

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

## Discussion

The <doc://com.apple.documentation/documentation/Swift/AsyncSequence> created by this method produces a Boolean `true` value every time the filter posts the <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NEURLFilterConfigurationDidChange> notification.

Use this method to watch for the configuration change notification and react to it.

---

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)