Endpoints
The core edgecore object is a lightweight wrapper that manages the lifecycle of your event stream.
The core edgecore 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);
Batching is automatic—control it via `batch(100)` or `batch({ size: 50, timeoutMs: 1000 })` to trade latency for throughput.
Endpoints
Graceful shutdown waits for in-flight events to complete, then closes connections cleanly—no lost events, no crashes.
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.