mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-25 16:09:44 +00:00
fa6bd1f926
Now when you call spawn in various context, you pass an FnOnce that is called with an AsyncAppContext and returns a static future. This allows you to write async code similar to how our tests work, borrowing the guts of the AsyncAppContext when needed to interact, but using normal async await semantics instead of callbacks. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com> |
||
---|---|---|
.. | ||
examples | ||
grammars/context-predicate | ||
src | ||
build.rs | ||
Cargo.toml |