#Custom command await / async
5 messages · Page 1 of 1 (latest)
Sure, you can use a task - the examples on tasks can technically be entirely done within commands
But I would hesitate to do anything like that - Commands are specifically designed to block the world for the least possible amount of time, and waiting on anything within one defeats that
bevy_defer is exactly made for this use case 🙂
I'll also throw in bevy_mod_async. Not as fancy as bevy_defer, but similar problem space