Skip to content

@niall-weedon niall-weedon released this Apr 7, 2016 · 6 commits to master since this release

Includes:

  • Updated produce function to handle different argument types. New documentation:

MessageHub.prototype.produce(topic, message)

Produces a message on the specified topic.

  • topic - (String) (required), the topic name for the new messages to be produced on.
  • message - (String|Array|MessageHub.MessageList|Object) (required), the message object to be pushed to the service.

Returns a Promise object which will be fulfilled when the request to the service resolves.

Assets 2
You can’t perform that action at this time.