This commit is contained in:
2026-02-23 21:54:50 +07:00
parent 99bf57b154
commit 7853e94d2e
21 changed files with 65 additions and 65 deletions

View File

@@ -151,9 +151,9 @@ All three implementations (Julia, JavaScript, Python/Micropython) follow the sam
The `smartsend` function now returns a tuple containing both the envelope object and the JSON string representation:
```julia
env, msg_json_str = smartsend(...)
env, env_json_str = smartsend(...)
# env::msgEnvelope_v1 - The envelope object with all metadata and payloads
# msg_json_str::String - JSON string for publishing to NATS
# env_json_str::String - JSON string for publishing to NATS
```
**Options:**
@@ -360,9 +360,9 @@ df = DataFrame(
)
# Send via SmartSend - wrapped in a list (type is part of each tuple)
env, msg_json_str = SmartSend("analysis_results", [("table_data", df, "table")])
env, env_json_str = SmartSend("analysis_results", [("table_data", df, "table")])
# env: msgEnvelope_v1 object with all metadata and payloads
# msg_json_str: JSON string representation of the envelope for publishing
# env_json_str: JSON string representation of the envelope for publishing
```
#### JavaScript (Receiver)