wavedb

Recipes

Batching is automatic—control it via `batch(100)` or `batch({ size: 50, timeoutMs: 1000 })` to trade latency for throughput.

The core wavedb object is a lightweight wrapper that manages the lifecycle of your event stream.

stream.pipe(retry( maxAttempts: 3, backoff: 'exponential' ), timeout(30000)).subscribe(console.log);

Authentication tokens are rotated silently in the background; your code never handles credentials directly.

Recipes

Authentication tokens are rotated silently in the background; your code never handles credentials directly.

const client = new wavedb.Client( auth: 'Bearer token', retry: true, timeout: 30000 );

Batching is automatic—control it via `batch(100)` or `batch({ size: 50, timeoutMs: 1000 })` to trade latency for throughput.

See also