From 5930a509e8a97c055f38f505a5450cf8b28c05cf Mon Sep 17 00:00:00 2001 From: Riccardo Sacchetto Date: Sun, 3 Nov 2024 17:09:19 +0100 Subject: [PATCH] Make EventStream Send --- src/event_listener/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event_listener/stream.rs b/src/event_listener/stream.rs index 7baa192..7558a15 100644 --- a/src/event_listener/stream.rs +++ b/src/event_listener/stream.rs @@ -28,7 +28,7 @@ use futures_lite::{Stream, StreamExt}; /// ``` #[must_use = "streams nothing unless polled"] pub struct EventStream { - stream: Pin>>>, + stream: Pin> + Send>>, } impl EventStream { /// Creates a new [EventListener]