serviceRegistrationBroadcastStream property

Stream<DTDEvent> get serviceRegistrationBroadcastStream

A stream of CoreDtdServiceConstants.serviceRegisteredKind and CoreDtdServiceConstants.serviceUnregisteredKind events.

Since this is a broadcast stream, it supports multiple subscribers. Subscribers should also call DartToolingDaemon.getRegisteredServices to detect any services that were already registered.

Implementation

Stream<DTDEvent> get serviceRegistrationBroadcastStream =>
    _serviceRegistrationController.stream;