mwg API
    Preparing search index...

    Interface TourneyAsyncOptions

    interface TourneyAsyncOptions {
        depth?: number;
        jobs?: number;
        maxNodes?: number;
        signal?: AbortSignal;
        timeMs?: number;
    }

    Hierarchy (View Summary)

    Index
    depth?: number

    plies to search; the iterative deepener completes 1..depth while the budget lasts

    jobs?: number

    root moves searched at once (default: hardware threads capped at 8, else 4)

    maxNodes?: number

    hard cap on visited positions; the best completed iteration is returned past it

    signal?: AbortSignal

    aborting stops the search at the next check and keeps the best completed iteration

    timeMs?: number

    soft wall-clock budget in milliseconds; checked every few thousand nodes