Changelog

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

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

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

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

Changelog

Metrics are published to standard formats (Prometheus, CloudWatch, DataDog) with zero configuration.

await stream.on('user.created', async (event) =>  console.log(event.data.email); );

The SDK provides both callback-based and Promise-based APIs, so you can use it with callbacks, async/await, or Observables.

See also