updates
This commit is contained in:
parent
d3ef73ae00
commit
a2fa08de88
8 changed files with 72 additions and 68 deletions
|
|
@ -1,21 +1,12 @@
|
|||
export * from './batch-processor';
|
||||
export * from './handler-registry';
|
||||
export * from './queue-manager';
|
||||
export * from './queue-factory';
|
||||
export * from './types';
|
||||
export * from './dlq-handler';
|
||||
export * from './queue-metrics';
|
||||
export * from './rate-limiter';
|
||||
|
||||
// Re-export commonly used functions
|
||||
export { processBatchJob, processItems } from './batch-processor';
|
||||
|
||||
// Core exports
|
||||
export { Queue, type QueueWorkerConfig } from './queue';
|
||||
export { QueueManager } from './queue-manager';
|
||||
export { Queue, type QueueConfig } from './queue';
|
||||
|
||||
export { handlerRegistry } from './handler-registry';
|
||||
|
||||
// Re-export queue factory functions
|
||||
// Batch processing
|
||||
export { processBatchJob, processItems } from './batch-processor';
|
||||
|
||||
// Queue factory functions
|
||||
export {
|
||||
initializeQueueSystem,
|
||||
getQueue,
|
||||
|
|
@ -25,17 +16,50 @@ export {
|
|||
shutdownAllQueues
|
||||
} from './queue-factory';
|
||||
|
||||
// Re-export types for convenience
|
||||
// DLQ handling
|
||||
export { 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,
|
||||
JobHandler,
|
||||
ProcessOptions,
|
||||
BatchJobData,
|
||||
|
||||
// Handler types
|
||||
JobHandler,
|
||||
HandlerConfig,
|
||||
HandlerConfigWithSchedule,
|
||||
HandlerInitializer,
|
||||
|
||||
// Configuration types
|
||||
RedisConfig,
|
||||
QueueConfig,
|
||||
ScheduledJob,
|
||||
QueueManagerConfig,
|
||||
|
||||
// Rate limiting types
|
||||
RateLimitConfig,
|
||||
RateLimitRule,
|
||||
|
||||
// DLQ types
|
||||
DLQConfig,
|
||||
DLQJobInfo,
|
||||
|
||||
// Scheduled job types
|
||||
ScheduledJob,
|
||||
ScheduleConfig,
|
||||
} from './types';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue