Document new sendMessage resolution callback argument.
This commit is contained in:
@@ -494,8 +494,10 @@ given subject.</a>
|
|||||||
|
|
||||||
<p>Returns: A
|
<p>Returns: A
|
||||||
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">
|
<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
|
Promise</a> that resolves on success, or rejects with no arguments if the client is denied access
|
||||||
is denied access to write to the subject.</p>
|
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
|
<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
|
contents are serialized and sent to the server (see
|
||||||
|
|||||||
Reference in New Issue
Block a user