wavehub

Streaming

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

Rate limiting is built in: configure token buckets, sliding windows, or adaptive limits that respond to backpressure.

stream.on('*.created', async (event) =>  await db.insert('events', event); ,  concurrency: 50 );

The TypeScript types are fully inferred; no manual type assertions needed even with complex nested schemas.

Streaming

The core wavehub 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);

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

See also

Account