M. J. Fromberger
54d7030510
This is part of the work described by #7156. Remove "unbuffered subscriptions" from the pubsub service. Replace them with a dedicated blocking "observer" mechanism. Use the observer mechanism for indexing. Add a SubscribeWithArgs method and deprecate the old Subscribe method. Remove SubscribeUnbuffered entirely (breaking). Rework the Subscription interface to eliminate exposed channels. Subscriptions now use a context to manage lifecycle notifications. Internalize the eventbus package. |
3 years ago | |
---|---|---|
.. | ||
event_bus.go | pubsub: Move indexing out of the primary subscription path (#7231) | 3 years ago |
event_bus_test.go | pubsub: Move indexing out of the primary subscription path (#7231) | 3 years ago |