Basic Connection
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Your Threadify API key |
serviceName | string | No | Service identifier (e.g., ‘payment-service’) |
options | object | No | Connection options |
Options
| Option | Type | Default | Description |
|---|---|---|---|
maxInFlight | number | 10 | Max pending notifications (max: 100) |
reconnect | boolean | true | Auto-reconnect on disconnect |
timeout | number | 30000 | Connection timeout (ms) |