nexus-agents - v2.80.0
    Preparing search index...

    Class WaveScheduler

    Wave scheduler for bounded parallel task execution.

    Executes tasks in waves respecting concurrency limits, dependency order, output budgets, and token budgets. Each wave waits for all tasks to complete before the next wave launches.

    const scheduler = createWaveScheduler({ maxConcurrency: 3 });
    const result = await scheduler.execute(tasks, async (task) => {
    return await runAgent(task.input);
    });
    console.log(`Completed in ${result.waves.length} waves`);
    Index

    Constructors

    Methods