# onOptions(\_:)

Runs `handler` at once with this hook’s extension’s `options`, then with the new ones each time they change, live; nil while the hook is off, so it can undo what it set up.

```swift
func onOptions(_ handler: @escaping (_ options: Any?) -> Void)
```

## Discussion

A change from one off value to another doesn’t run it.
