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>
Allows callers to listen only for specific messages.