mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-25 10:00:39 +01:00
5e08a02ca8
This allows us to spawn long-running tasks without leaking entities, but it also ensures that if we *do* hold on to a task, that the entity exists until the future or stream complete so that the task doesn't need to return an Option type. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>