Interface QueueRegistration
interface QueueRegistration {
defaults?: QueueDefaults;
groups?: Record<string, GroupProfile>;
name: string;
schedules?: ScheduleDeclaration[];
subscribe?: boolean;
}
defaults?: QueueDefaults;
groups?: Record<string, GroupProfile>;
name: string;
schedules?: ScheduleDeclaration[];
subscribe?: boolean;
}
Index
Properties
Properties
Optionaldefaults
Defaults merged into every enqueue from this queue's handle. Caller's options win on conflict.
Optionalgroups
Named group profiles. Configured idempotently at bootstrap (each profile
is treated as a static group whose key equals the profile name) AND
available by name via queue.group(key, 'profile-name').
name
name: string
Queue name. Must be unique across registerQueue calls in a single app.
Optionalschedules
schedules?: ScheduleDeclaration[]
Cron schedules owned by this queue. Unioned with forRoot.schedules and
reconciled together — entries not present in the union are deleted.
Optionalsubscribe
subscribe?: boolean
Whether worker pods should subscribe to this queue when subscribeTo is
not explicitly set on forRoot. Default true. Set false for queues
that exist only for enqueueing in this process (rare).
Argument to
EddyqModule.registerQueue— declarative per-queue config that the module aggregates at bootstrap.