62 lines
1.2 KiB
TypeScript
62 lines
1.2 KiB
TypeScript
// Core exports
|
|
export { Queue, type QueueWorkerConfig } from './queue';
|
|
export { QueueManager } from './queue-manager';
|
|
export { handlerRegistry } from './handler-registry';
|
|
export { createJobHandler } from './types';
|
|
|
|
// Batch processing
|
|
export { processBatchJob, processItems } from './batch-processor';
|
|
|
|
// Queue factory functions
|
|
// QueueFactory removed - use QueueManager directly
|
|
|
|
// DLQ handling
|
|
export { DeadLetterQueueHandler, DeadLetterQueueHandler as DLQHandler } from './dlq-handler';
|
|
|
|
// Metrics
|
|
export { QueueMetricsCollector } from './queue-metrics';
|
|
|
|
// Rate limiting
|
|
export { QueueRateLimiter } from './rate-limiter';
|
|
|
|
// Types
|
|
export type {
|
|
// Core types
|
|
JobData,
|
|
JobOptions,
|
|
QueueOptions,
|
|
QueueStats,
|
|
GlobalStats,
|
|
|
|
// Batch processing types
|
|
BatchResult,
|
|
ProcessOptions,
|
|
BatchJobData,
|
|
|
|
// Handler types
|
|
JobHandler,
|
|
TypedJobHandler,
|
|
HandlerConfig,
|
|
TypedHandlerConfig,
|
|
HandlerConfigWithSchedule,
|
|
TypedHandlerConfigWithSchedule,
|
|
HandlerInitializer,
|
|
|
|
// Configuration types
|
|
RedisConfig,
|
|
QueueConfig,
|
|
QueueManagerConfig,
|
|
|
|
// Rate limiting types
|
|
RateLimitConfig,
|
|
RateLimitRule,
|
|
|
|
// DLQ types
|
|
DLQConfig,
|
|
DLQJobInfo,
|
|
|
|
// Scheduled job types
|
|
ScheduledJob,
|
|
ScheduleConfig,
|
|
} from './types';
|
|
|