# Make the gpui_tokio crate generic over the context it spawns \(\#23995\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 517e519bdcc868d94a130e913403e5b2db4a59a3

Requested commit: 517e519bdcc868d94a130e913403e5b2db4a59a3

Commit: 517e519bdcc868d94a130e913403e5b2db4a59a3

Tree: 6c02bc3cf946c6b4ea9053292ac1d0b512834a02

Author: Mikayla Maki

Committer: GitHub

## Message

```
Make the gpui_tokio crate generic over the context it spawns (#23995)

Part of  #21092

Makes `Tokio::spawn` generic over any `AppContext`.

Also removes a stray `model_context` I missed

Release Notes:

- N/A
```

## Parents

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

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