REFERENCE
U.PUBLISH
Summary
Publishes data to a topic.
Syntax
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| topic | text | yes | Target topic |
| data | any | yes | Data to publish |
| options | any | no | Optional settings |
Behavior
- Sends data to messaging system
- Notifies all subscribers
Return Value
Status of publication
Examples
Notes
- Keep topic naming consistent
Related
- U.SUBSCRIBE
- U.GET