onReconnecting method

void onReconnecting(
  1. EventHandler handler
)

Implementation

void onReconnecting(EventHandler handler) {
  on('reconnecting', handler);
}