The shape an observable produces — matches the listener signature of bus.on(pattern, (cmd, result) => ...) packed into a single value so RxJS-shaped operators can .pipe(filter(...)) etc.
bus.on(pattern, (cmd, result) => ...)
.pipe(filter(...))
The shape an observable produces — matches the listener signature of
bus.on(pattern, (cmd, result) => ...)packed into a single value so RxJS-shaped operators can.pipe(filter(...))etc.