modules/pubsub: Use queue of events
This updates the pubsub system to have a queue of N events instead of
just one, and removes the blocking Publish operation in favor of a
fallible, non-blocking API.
Change-Id: I0f79b2218fa52b6a568a230455e9fd2e22419dec
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/rp2/+/220779
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
3 files changed