onSubscribe property

  1. @override
Stream<SubscriptionRequest> get onSubscribe
override

Fires whenever a client tries to subscribe to an event.

Implementation

@override
Stream<SubscriptionRequest> get onSubscribe => _onSubscribe.stream;