fix output annotation

This commit is contained in:
2026-03-04 11:58:19 +07:00
parent 95fe697501
commit e5f4793370
8 changed files with 27 additions and 18 deletions

View File

@@ -249,8 +249,8 @@ env, env_json_str = NATSBridge.smartsend(
msg_id::String = string(uuid4()), # Message ID (auto-generated UUID)
sender_id::String = string(uuid4()) # Sender ID (auto-generated UUID)
)
# Returns: (msgEnvelope_v1, JSON string)
# - env: msgEnvelope_v1 object with all envelope metadata and payloads
# Returns: ::Tuple{msg_envelope_v1, String}
# - env: msg_envelope_v1 object with all envelope metadata and payloads
# - env_json_str: JSON string representation of the envelope for publishing
```
@@ -271,7 +271,7 @@ env = NATSBridge.smartreceive(
base_delay::Int = 100,
max_delay::Int = 5000
)
# Returns: Dict with envelope metadata and payloads array
# Returns: ::JSON.Object{String, Any} - key-value structure resemble msg_envelope_v1
```
### publish_message