Skip to content

Commit f8c649c

Browse files
committed
Add Send+Sync trait bounds for EventPublisher.
1 parent d30139f commit f8c649c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldk-server/src/io/events/event_publisher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use ldk_server_protos::events::EventEnvelope;
1818
/// The underlying messaging system is expected to support durably buffered events,
1919
/// enabling easy decoupling between the LDK Server and event consumers.
2020
#[async_trait]
21-
pub trait EventPublisher {
21+
pub trait EventPublisher: Send + Sync {
2222
/// Publishes an event to the underlying messaging system.
2323
///
2424
/// # Arguments

0 commit comments

Comments
 (0)