Skip to content

Commit

Permalink
Update async_event.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mintlu8 committed May 9, 2024
1 parent a926b3a commit e62e131
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/access/async_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ pub fn react_to_event<E: Event + Clone>(

impl<E: Event + Clone> AsyncWorldParam for EventStream<E> {
fn from_async_context(reactors: &Reactors) -> Option<Self> {
Some(EventStream {
frame: 0,
index: 0,
event: reactors.get_event(),
})
Some(reactors.get_event().into_stream())
}
}

0 comments on commit e62e131

Please sign in to comment.