@gandalan/weblibs 2.0.18 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/neherApp3Types.js +1 -1
- package/package.json +1 -1
package/api/neherApp3Types.js
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
* @typedef {Object} Endpoint
|
|
99
99
|
* @property {string} name - The module name of this endpoint.
|
|
100
100
|
* @property {(type: TypePattern, handler: MessageHandler) => (() => void)} on - Subscribe; returns an unsubscribe function.
|
|
101
|
-
* @property {(to: string, type: string, payload?: any, options?: SendOptions) => Delivery} send - Directed message (`from` is stamped automatically).
|
|
101
|
+
* @property {(to: string, type: string, payload?: any, options?: SendOptions) => Delivery} send - Directed message (`from` is stamped automatically). `to` is a module name, or `user:…`/`bot:…` for delivery via the server (`delivered` then means "handed to the server"; replies arrive as local broadcasts).
|
|
102
102
|
* @property {(type: string, payload?: any, options?: SendOptions) => Delivery} broadcast - Broadcast to all other endpoints (`from` is stamped automatically; the sender does not receive its own broadcast).
|
|
103
103
|
* @property {() => void} dispose - Remove all subscriptions created through this handle.
|
|
104
104
|
*/
|