Skip to content

Commit

Permalink
doc: clarify Signal channel behavior
Browse files Browse the repository at this point in the history
Fixes #271.
  • Loading branch information
guelfey committed Jan 6, 2022
1 parent b98979d commit cefe07c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,9 @@ func (conn *Conn) RemoveMatchSignalContext(ctx context.Context, options ...Match

// Signal registers the given channel to be passed all received signal messages.
//
// Multiple of these channels can be registered at the same time.
// Multiple of these channels can be registered at the same time. The channel is
// closed if the Conn is closed; it should not be closed by the caller before
// RemoveSignal was called on it.
//
// These channels are "overwritten" by Eavesdrop; i.e., if there currently is a
// channel for eavesdropped messages, this channel receives all signals, and
Expand Down

0 comments on commit cefe07c

Please sign in to comment.