| Crates.io | bevy_concurrent_event |
| lib.rs | bevy_concurrent_event |
| version | 0.1.0 |
| created_at | 2024-03-05 15:09:52.522075+00 |
| updated_at | 2024-03-05 15:09:52.522075+00 |
| description | A simple concurrent event plugin,the principle is similar to Commads,events can be send/read concurrently, but the reading of events is always in the next bevy frame |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1163154 |
| size | 39,512 |
"A simple concurrent event plugin,the principle is similar to Commads,events can be send/read concurrently, but the reading of events is always in the next bevy frame"
#[derive(Event)] struct E;
fn main() {
App::new().add_event_manager::
use bevy::{ app::{App, Update}, ecs::event::Event, }; use bevy_concurrent_event::events::{ ConcurrentEvent, EventsReader, EventsSender, }; use rayon::iter::ParallelIterator;
#[derive(Event)] struct E;
pub fn main() {
App::new().add_event_manager::