Kaizen
Browse modulesInsightsinsights/schedulingFunctions

Function: createReportScheduleWorker()

function createReportScheduleWorker(deps: ReportScheduleWorkerDeps): Worker<ReportScheduleJobData>;

Defined in: server/insights/scheduling/report-schedule-worker.ts:382

Create the BullMQ worker that runs deliverScheduledReport for each fire. Run it in your worker process (never the request path).

Parameters

ParameterType
depsReportScheduleWorkerDeps

Returns

Worker<ReportScheduleJobData>

On this page