Module async_events

Source
Expand description

This module provides a way to send events between systems asynchronously. It’s useful to send events between threads that perform asynchronous tasks, such as loading content from disk or loading sprites from a sprite sheet before rendering.

Structs§

EventSender
A resource that emits asynchronous events of a given type. It’s a bevy friendly wrapper around a std::sync::mpsc::Sender.

Traits§

AsyncEventApp
A trait to add an asynchronous event to an App.