Browse modulesBackground jobsInterfaces
Interface: CreateLifecycleSubscriberOptions
Defined in: server/background-jobs/lifecycle-subscriber.ts:9
Properties
connection
connection: Redis;Defined in: server/background-jobs/lifecycle-subscriber.ts:11
hooks?
optional hooks?: LifecycleHooks;Defined in: server/background-jobs/lifecycle-subscriber.ts:12
queue
queue: Queue;Defined in: server/background-jobs/lifecycle-subscriber.ts:10
repo?
optional repo?: BackgroundJobRunRepository;Defined in: server/background-jobs/lifecycle-subscriber.ts:18
Opt-in audit repo for terminal/status updates. The queued row is
written by createBackgroundJobQueue at the producer; this subscriber
only flips rows to completed/failed/stalled.