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.

    • onerror: () => void

      Optional function to execute on error.

    Returns void