@b-jones-rfd/sp-rest-connect - v5.1.1
    Preparing search index...

    Interface GetNextPageOptions

    Options for following a Page.nextLink.

    interface GetNextPageOptions {
        nextLink: string;
        signal?: AbortSignal;
        timeout?: number;
    }

    Hierarchy (View Summary)

    Index
    nextLink: string

    The nextLink from a previous page. Must point at the connection's own host.

    signal?: AbortSignal

    Cancels the request. Abort yields a Failure with code ABORTED.

    connection.getListContents({ listName: 'Tasks', signal: AbortSignal.timeout(5000) })
    
    timeout?: number

    Socket inactivity timeout in milliseconds: the request fails with code TIMEOUT if no bytes arrive for this long. It is not a cap on total duration; use signal with AbortSignal.timeout() for that. Omit for no timeout.