subscribesToQueryEvents static method

bool subscribesToQueryEvents(
  1. String id
)

Returns true if there are active listeners for the given ID.

Implementation

static bool subscribesToQueryEvents(String id) {
  final manager = _managers[id];
  return manager != null && manager.hasListeners;
}