thing im pretty much done with extracting the queue and making it reususable, maybe just a few more change to be able to making the batch names a bit more specific

This commit is contained in:
Boki 2025-06-14 18:22:28 -04:00
parent ad5e353ec3
commit e8c90532d5
14 changed files with 117 additions and 93 deletions

View file

@ -54,7 +54,7 @@ async function basicUsageExample() {
const symbols = ['GOOGL', 'MSFT', 'TSLA', 'AMZN'];
const result = await processItems(symbols, queueManager, {
totalDelayMs: 30000, // 30 seconds total
totalDelayHours: 0.0083, // 30 seconds
useBatching: true,
batchSize: 2,
priority: 1,