bind method
Return a stream capturing events with respective eventName
.
Implementation
Stream<ChannelReadEvent> bind(String eventName) => publicStreamGetter()
.where(
(event) => _bindStreamFilterPredicate(
targetEventName: eventName,
event: event,
),
)
.transform<ChannelReadEvent>(
StreamTransformer.fromHandlers(
handleData: _bindStreamSinkFilter,
),
);