onReconnect property

Future<void> Function()? onReconnect
getter/setter pair

Called after a successful reconnection so the consumer can re-authenticate and re-subscribe to collections.

Implementation

Future<void> Function()? onReconnect;