fromMsgStream<Msg> static method
Creates a subscription from a stream, using the stream objects as messages.
Implementation
static SubItem<Msg> fromMsgStream<Msg>(
SubscriptionId id, Stream<Msg?> stream) =>
fromStream<Msg, Msg?>(id, stream, (msg) => msg);