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

Rename PublishBatch -> PublishMultiple #303

Merged
merged 2 commits into from Apr 12, 2021

Conversation

tcard
Copy link
Contributor

@tcard tcard commented Apr 6, 2021

As @SimonWoolf points out, there's an unrelated feature called batch publish already.

@tcard tcard self-assigned this Apr 6, 2021
@tcard tcard requested a review from SimonWoolf April 6, 2021 15:00
@@ -232,7 +232,7 @@ if err != nil {
}

// You can also publish a batch of messages in a single request.
err = channel.PublishBatch(ctx, []*ably.Message{
err = channel.PublishMultiple(ctx, []*ably.Message{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps change the comment to "publish multiple messages" so not to confuse with a batch publish?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done at 30a6413.

README.md Outdated Show resolved Hide resolved
@tcard tcard force-pushed the feature/rename-publish-batch branch from ae4f22d to 30a6413 Compare April 12, 2021 09:48
@tcard tcard merged commit 478d222 into integration/1.2 Apr 12, 2021
@tcard tcard deleted the feature/rename-publish-batch branch April 12, 2021 10:14
sacOO7 pushed a commit that referenced this pull request Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants