Last active
April 18, 2019 11:35
-
-
Save mattheworiordan/f84678b1ed2125cfe775e78b2fe943a2 to your computer and use it in GitHub Desktop.
Ably Idempotency with client supplied message ID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rest = new Ably.Rest(ablyApiKey); | |
var channel = rest.channels.get('example-channel'); | |
channel.publish([{ data: 'payload', id: 'unique123' }]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment