This commit is contained in:
2026-02-25 15:20:29 +07:00
parent 1299febcdc
commit 3e1c8d563e
4 changed files with 51 additions and 75 deletions

View File

@@ -388,6 +388,12 @@ graph TD
- **Julia:** Uses `NATS_connection` keyword parameter with function overloading
- **JavaScript/Python:** Achieved by creating NATS client outside the function and reusing it in custom handlers
**Note on `is_publish`:**
- `is_publish` is simply a switch to control automatic publishing
- When `true` (default): Message is published to NATS automatically
- When `false`: Returns `(env, env_json_str)` without publishing, allowing manual publishing
- Connection reuse is achieved separately by creating NATS client outside the function
### Julia Implementation
#### Dependencies