OpenSheetMusicDisplay
    Preparing search index...

    Class AJAX

    Class with helper methods to handle asynchronous JavaScript requests

    Index
    • Retrieve the content of the file at url

      Parameters

      • url: string
      • timeout: number = 9000

        in milliseconds

      • OptionalabortSignal: AbortSignal

        the signal of an AbortController. Its abort() cancels the request, and the promise is rejected with an Error whose name is "AbortError" (like fetch()).

      Returns Promise<string>