onDisconnect property
PublishSubject<void>
onDisconnect
getter/setter pair
onDisconnect
event will be triggered when connection is closed
Implementation
PublishSubject<void> onDisconnect = PublishSubject<void>();