stream
stream copied to clipboard
Replace the onIdle callback with a more generic observer callbacks
An interface that user can monitor when a connection is started, and when it is ended.