bevy/crates/bevy_ecs/src/event
Bob Gardner 4c3b4a445d
Mark events as read during EventReader::par_read (#13836)
# Objective

- Fix issue #13821  

## Solution

- Rewrote the test to ensure that it actually tests the functionality
correctly. Then made the par_read function correctly change the values
of self.reader.last_event_count.

## Testing

- Rewrote the test for par_read to run the system schedule twice,
checking the output each time

---------

Co-authored-by: Martín Maita <47983254+mnmaita@users.noreply.github.com>
2024-06-25 15:36:06 +00:00
..
base.rs Generalised ECS reactivity with Observers (#10839) 2024-06-15 01:33:26 +00:00
collections.rs Fix lints introduced in Rust beta 1.80 (#13899) 2024-06-17 17:22:01 +00:00
iterators.rs Mark events as read during EventReader::par_read (#13836) 2024-06-25 15:36:06 +00:00
mod.rs Mark events as read during EventReader::par_read (#13836) 2024-06-25 15:36:06 +00:00
reader.rs Mark events as read during EventReader::par_read (#13836) 2024-06-25 15:36:06 +00:00
registry.rs Ensure that events are updated even when using a bare-bones Bevy App (#13808) 2024-06-12 14:28:51 +00:00
update.rs Ensure that events are updated even when using a bare-bones Bevy App (#13808) 2024-06-12 14:28:51 +00:00
writer.rs Generalised ECS reactivity with Observers (#10839) 2024-06-15 01:33:26 +00:00