# Enforce Send bound on next frame callback functions, because they're invoked on arbitrary threads \(\#3215\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d1cb2d3e110dc0defee5f1516129cf0187604ca8

Requested commit: d1cb2d3e110dc0defee5f1516129cf0187604ca8

Commit: d1cb2d3e110dc0defee5f1516129cf0187604ca8

Tree: 6e8b4c8b9b80311d0e4f8dc09a26a6f72f737eb0

Author: Nathan Sobo

Committer: GitHub

## Message

```
Enforce Send bound on next frame callback functions, because they're invoked on arbitrary threads (#3215)

This enforces the send bound, then uses an async task looping on a
channel to run callbacks on the main thread.
```

## Parents

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

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

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