verae-zapier-middleware/nats/connection¶
Package: verae-zapier-middleware
Source: packages/verae-zapier-middleware/src/nats/connection.js
Lines: 117
What this module is¶
Implementation module in verae-zapier-middleware. The tables below are extracted from the source (signatures + JSDoc).
Exports¶
connectNats, getNatsConnection, ensureStreams, closeNats, getJetStream, isNatsConnected
Types / interfaces / classes¶
None extracted.
Functions¶
Name |
Parameters |
Param types (JSDoc) |
Returns |
Calls (same file / helpers) |
|---|---|---|---|---|
|
|
url: |
|
see Call graph |
|
|
— |
`import(‘nats’).NatsConnection |
null` |
|
|
manager: |
|
see Call graph |
|
|
— |
|
see Call graph |
|
|
— |
`import(‘nats’).JetStreamClient |
null` |
|
|
— |
|
see Call graph |
What it imports / requires¶
../debug/logger.js../config.js./subjects.js
Call graph (identifiers invoked)¶
createDebugger, import, connectNats, debug, disabled, info, connect, jetstream, jetstreamManager, getNatsConnection, ensureStreams, add, closeNats, drain, getJetStream, isNatsConnected, isClosed
Each identifier is a call site in this file. Follow the import list to see the defining module; open that module’s MD for parameter and return types.
Return values (how to read this)¶
HTTP route handlers return Express
res.json(...)bodies (see route docs).Zapier
performfunctions return a single object (creates) or an array (triggers/searches).Pricing functions return integer cents on
Quote.totalCents.