Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Publisher interface #18

Merged
merged 4 commits into from
Feb 22, 2017
Merged

Update Publisher interface #18

merged 4 commits into from
Feb 22, 2017

Conversation

ono
Copy link
Contributor

@ono ono commented Feb 22, 2017

To achieve #17, I needed to change the interface of Publisher. Since the implication is large, I am opening a separate PR here.

Publisher now focus on publishing messages received. It doesn't care the message format. Such concern is now handled in Job.enqueue/2.

Renamed SyncPublisher to Publisher at the same time. The module name shouldn't represent the implementation detail unless it is the very important feature. SyncPublisher can also mislead users to think that it waits for a message to be delivered.

@ono ono merged commit ed2743a into master Feb 22, 2017
@ono ono deleted the feature/publisher-interface branch February 22, 2017 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants