Function getAll

Loads the URLs in the given array asynchronously and invokes the given function if all requests returned with a valid 2xx status. The error handler is invoked once on the first error or invalid response.

  • Parameters

    • urls: string[]

      Array of URLs to be loaded.

    • onload: ((arg0: any) => void)

      Callback with array of XmlRequests.

        • (arg0): void
        • Parameters

          • arg0: any

          Returns void

    • onerror: (() => void)

      Optional function to execute on error.

        • (): void
        • Returns void

    Returns void