Skip to content

Add subscriber dispatcher#5201

Merged
theacodes merged 2 commits into
googleapis:masterfrom
theacodes:pubsub-dispatcher
Apr 17, 2018
Merged

Add subscriber dispatcher#5201
theacodes merged 2 commits into
googleapis:masterfrom
theacodes:pubsub-dispatcher

Conversation

@theacodes
Copy link
Copy Markdown
Contributor

Dispatcher handles sending requests back from callbacks. This is the second helper (after BackgroundStreamConsumer) that will be used by the Subscriber class.

Still trying to be minimally invasive, but I did move the helper_threads module to its final place under _protocol.

Don't give the subscriber class much scrutiny right now, I just need some interface for the autospec in tests.

@theacodes theacodes requested a review from crwilcox April 17, 2018 19:52
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 17, 2018


def test_stop():
subscriber_ = mock.create_autospec(subscriber.Subscriber, instance=True)

This comment was marked as spam.

@theacodes theacodes merged commit 4944cc4 into googleapis:master Apr 17, 2018
@theacodes theacodes deleted the pubsub-dispatcher branch April 17, 2018 21:28
parthea pushed a commit that referenced this pull request Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants