update
This commit is contained in:
@@ -392,9 +392,9 @@ function smartsend(
|
||||
```
|
||||
|
||||
**Return Value:**
|
||||
- Returns a tuple `(env, msg_json_str)` where:
|
||||
- Returns a tuple `(env, env_json_str)` where:
|
||||
- `env::msgEnvelope_v1` - The envelope object containing all metadata and payloads
|
||||
- `msg_json_str::String` - JSON string representation of the envelope for publishing
|
||||
- `env_json_str::String` - JSON string representation of the envelope for publishing
|
||||
|
||||
**Options:**
|
||||
- `is_publish::Bool = true` - When `true` (default), the message is automatically published to NATS. When `false`, the function returns the envelope and JSON string without publishing, allowing manual publishing via NATS request-reply pattern.
|
||||
|
||||
Reference in New Issue
Block a user