From 568e1ad04fa39c05ebc71100ef4fee4e8953e825 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 12 Jun 2014 23:14:37 -0700 Subject: [PATCH] Document new sendMessage resolution callback argument. --- reference.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reference.html b/reference.html index 57c71aa..bd4f040 100644 --- a/reference.html +++ b/reference.html @@ -494,8 +494,10 @@ given subject.

Returns: A -Promise that resolves with no arguments on success, or rejects with no arguments if the client -is denied access to write to the subject.

+Promise that resolves on success, or rejects with no arguments if the client is denied access +to write to the subject. On success, a message argument is passed to the +resolution callback; it differs from the original message argument in that it has +metadata added by the server.

Sends a message to the given subject. The message contents are serialized and sent to the server (see