Skip to main content

default

API Docs


Variable: default()

default: (fastify) => Promise<void>

Defined in: src/plugins/backgroundWorkers.ts:31

Background worker plugin for event materialization.

This plugin:

  • Initializes the background worker service
  • Starts the materialization and cleanup workers
  • Handles graceful shutdown of workers
  • Provides worker status endpoints

Parameters

fastify

FastifyInstance

Returns

Promise<void>