Skip to content

Commit

Permalink
Merge pull request #285 from Occhioverde/master
Browse files Browse the repository at this point in the history
Make `EventStream` `Send`
  • Loading branch information
yavko authored Nov 3, 2024
2 parents ca24139 + 5930a50 commit d0eb8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event_listener/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use futures_lite::{Stream, StreamExt};
/// ```
#[must_use = "streams nothing unless polled"]
pub struct EventStream {
stream: Pin<Box<dyn Stream<Item = crate::Result<Event>>>>,
stream: Pin<Box<dyn Stream<Item = crate::Result<Event>> + Send>>,
}
impl EventStream {
/// Creates a new [EventListener]
Expand Down

0 comments on commit d0eb8cf

Please sign in to comment.