fgb-vt - v1.0.6
    Preparing search index...

    Interface RequestOptions

    Per-request options for tile generation.

    interface RequestOptions {
        onTile?: (stats: TileStats) => void;
        signal?: AbortSignal;
    }
    Index
    onTile?: (stats: TileStats) => void

    Called after a tile has been encoded, with per-source read and feature counts and timings (e.g. for metrics or logs). Not called for failed tiles. Errors thrown by the hook are ignored.

    signal?: AbortSignal

    Aborts the tile: pending reads are cancelled and the call rejects with the signal's reason. Use AbortSignal.timeout(ms) for a deadline.