forgekit

Guides

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

The core forgekit 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 SDK provides both callback-based and Promise-based APIs, so you can use it with callbacks, async/await, or Observables.

Guides

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

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

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

See also