emitAll method

void emitAll(
  1. String event, [
  2. dynamic data
])

Propagate given event to sockets and emit on this

@api private

Implementation

void emitAll(String event, [data]) {
  emit(event, data);
  for (var nsp in nsps.keys) {
    nsps[nsp]!.emit(event, data);
  }
}