# Refactor notification/observation callback pattern in MutableAppContext · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/46fef69b1a7423caa7278a79d25550a6cffd342c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 46fef69b1a7423caa7278a79d25550a6cffd342c

Requested commit: 46fef69b1a7423caa7278a79d25550a6cffd342c

Commit: 46fef69b1a7423caa7278a79d25550a6cffd342c

Tree: 510b185768a3c2d52af926901949ab28ed8bbcf3

Author: ForLoveOfCats

Committer: ForLoveOfCats

## Message

```
Refactor notification/observation callback pattern in MutableAppContext

Pull out duplicate code and clarify some misc behavior. Some of this
existing API feels like it's probably incorrect but that needs more
thorough investigation

Co-authored-by: Mikayla <mikayla@zed.dev>

```

## Parents

- [ab760493cfc4f75bc6a3bbf2c578efa643017afd](https://git.cafe/gitcafe/zed/commit/ab760493cfc4f75bc6a3bbf2c578efa643017afd?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/46fef69b1a7423caa7278a79d25550a6cffd342c?format=markdown)
