Skip to content

Commit

Permalink
Clarify ConnectionObserver callbacks contract (#2838)
Browse files Browse the repository at this point in the history
  • Loading branch information
idelpivnitskiy authored Feb 17, 2024
1 parent 897f3c6 commit de5278d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
* An observer interface that provides visibility into events associated with a network connection.
* <p>
* Either {@link #connectionClosed()} or {@link #connectionClosed(Throwable)} will be invoked to signal when connection
* is closed.
* is closed. The "closed" event is considered terminal and other callbacks after that can be safely discarded because
* nothing happens on the network interface after closure.
*/
public interface ConnectionObserver {

Expand Down

0 comments on commit de5278d

Please sign in to comment.