ListenerSubscription constructor

ListenerSubscription(
  1. MetricsListener metricsListener,
  2. MeterFactory meterFactory
)

Implementation

ListenerSubscription(
  MetricsListener metricsListener,
  MeterFactory meterFactory,
)   : _metricsListener = metricsListener,
      _meterFactory = meterFactory,
      _meterListener = MeterListener();