onDisconnect property

PublishSubject<void> onDisconnect
getter/setter pair

This callback will be called when connection is closed

Implementation

PublishSubject<void> onDisconnect = PublishSubject<void>();