Skip to content

Commit

Permalink
Merge #99: Add more docs for RelayPoolNotification
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed May 3, 2023
2 parents 0a54796 + ef11c14 commit 6c9880f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/nostr-sdk/src/relay/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ pub enum RelayPoolMessage {
/// Relay Pool Notification
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum RelayPoolNotification {
/// Received an [`Event`]
/// Received an [`Event`]. Does not include events sent by this client.
Event(Url, Event),
/// Received a [`RelayMessage`]
/// Received a [`RelayMessage`]. Includes messages wrapping events that were sent by this client.
Message(Url, RelayMessage),
/// Shutdown
Shutdown,
Expand Down

0 comments on commit 6c9880f

Please sign in to comment.