Document new sendMessage resolution callback argument.

This commit is contained in:
Ian Gulliver
2014-06-12 23:14:37 -07:00
parent 5b9dc202b7
commit 568e1ad04f

View File

@@ -494,8 +494,10 @@ given subject.</a>
<p>Returns: A
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">
Promise</a> that resolves with no arguments on success, or rejects with no arguments if the client
is denied access to write to the subject.</p>
Promise</a> that resolves on success, or rejects with no arguments if the client is denied access
to write to the subject. On success, a <a href="#message">message</a> argument is passed to the
resolution callback; it differs from the original <code>message</code> argument in that it has
metadata added by the server.</p>
<p>Sends a <a href="#message">message</a> to the given <a href="#subject">subject</a>. The message
contents are serialized and sent to the server (see