@drupflare/workforce - v0.3.0
    Preparing search index...

    Interface ApplyOptions

    interface ApplyOptions {
        budget?: Budget;
        budgetActions?: number;
        concurrency?: number;
        cursor?: ApplyCursor;
        failFast?: boolean;
        onProgress?: (done: number, total: number) => void;
        onTransition?: (cursor: ApplyCursor) => void | Promise<void>;
    }

    Hierarchy (View Summary)

    Index
    budget?: Budget
    budgetActions?: number

    how many actions to start before handing a cursor back

    concurrency?: number

    how many operations run at once; the budget still paces the requests inside them

    cursor?: ApplyCursor
    failFast?: boolean

    stop at the first failure instead of finishing and reporting

    onProgress?: (done: number, total: number) => void

    called as each one finishes, for a progress line

    onTransition?: (cursor: ApplyCursor) => void | Promise<void>

    Called with a copy of the cursor after every state change, so a caller can persist it.

    A throw stops the apply and rejects with that error, as a failed durable write would.