bus: Make bus Stream private and add functions on the bus directly for it
commit b148280181c5b595d823984b6df6a9e10f022491 (HEAD -> bus-stream, gitlab-slomo/bus-stream)
Author: Sebastian Dröge <sebastian@centricular.com>
Date: Wed Jan 22 09:23:10 2020 +0200
bus: Make bus Stream private and add functions on the bus directly for it
Also add a helper function that allows filtering the stream directly.
commit 217bbc3e940ee8886fc851ec46a90439e6c96431
Author: Sebastian Dröge <sebastian@centricular.com>
Date: Wed Jan 22 09:21:10 2020 +0200
bus: Take the mutex before popping messages for the bus stream
Otherwise a message might arrive between popping, getting None and
locking the mutex for storing the waker. In that case we would never
be woken up.