Skip to content

Commit

Permalink
Merge pull request #294 from godbus/doc/signal_ownership
Browse files Browse the repository at this point in the history
doc: clarify Signal channel behavior
  • Loading branch information
guelfey committed Jan 7, 2022
2 parents b98979d + cefe07c commit 6b744b9
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 6b744b9

Please sign in to comment.