Function fetchAllGrids

  • Convenience method to fetch multiple grids from a response.

    A caller will have to check each grid to see if it's in error.

    Please note: fetching multiple grids from a response is unorthodox. This was added to support the rather antiquated evalAll that has multiple grids encoded into its response.

    Parameters

    • resource: RequestInfo

      The resource to request.

    • gridCount: number

      The number of expected grids to read.

    • Optionaloptions: RequestInit

      Optional object containing any custom settings.

    • OptionalfetchFunc: FetchMethod

      Optional fetch function to use instead of global fetch.

    Returns Promise<HGrid[]>

    A promise that resolves to a number of grids.

    A fetch error.