@backblaze-labs/b2-sdk - v0.1.0
    Preparing search index...

    Interface PaginatorOptions

    Options accepted by every paginateX method on Bucket and B2Client.

    interface PaginatorOptions {
        pageSize?: number;
        signal?: AbortSignal;
    }
    Index

    Properties

    Properties

    pageSize?: number

    Maximum items per page. Forwarded to the underlying list call's maxFileCount / maxKeyCount / maxPartCount parameter. B2 caps this at endpoint-specific limits (typically 10000 for files, 100 for parts).

    signal?: AbortSignal

    Aborts the iteration between fetches. When already aborted at call time, the iterator throws immediately on its first next() call.

    Note: this does NOT abort an in-flight HTTP request mid-page. The iterator checks signal.throwIfAborted() only between fetches.