WrappedMessageStream extension

Helpful methods on Streams of WrappedMessages.

on

Methods

onMessage<T extends Message>({required String name, required T constructor(List<int>), required void callback(T)}) StreamSubscription<T>

Available on Stream<WrappedMessage>, provided by the WrappedMessageStream extension

Allows callers to listen only for specific messages.