# language: Spawn language servers on background threads \(\#44631\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5a6198cc390ead8ba37bb1ef3caf8fa5b7fb49a6

Requested commit: 5a6198cc390ead8ba37bb1ef3caf8fa5b7fb49a6

Commit: 5a6198cc390ead8ba37bb1ef3caf8fa5b7fb49a6

Tree: 3634bc6eb5fbe3016d61443a882a51b4453a6fb5

Author: Lukas Wirth

Committer: GitHub

## Message

```
language: Spawn language servers on background threads (#44631)

Closes https://github.com/zed-industries/zed/issues/39056

Leverages a new `await_on_background` API that spawns the future on the
background but blocks the current task, allowing to borrow from the
surrounding scope.

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

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

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