onPong method

void onPong(
  1. EventHandler handler
)

Implementation

void onPong(EventHandler handler) {
  on('pong', handler);
}