core icon indicating copy to clipboard operation
core copied to clipboard

add support for signal request option

Open nicknisi opened this issue 7 years ago • 0 comments

Type: feature

The following has been addressed in the PR:

  • [x] There is a related issue
  • [x] All code has been formatted with prettier as per the readme code style guidelines
  • [x] Unit or Functional tests are included in the PR

Description:

Note: This PR is dependent on dojo/shim#143.

Resolves #390

add support for a signal: AbortSignal property in the request options. When provided, the request can be aborted by calling the AbortController#abort method, similar to the fetch API. When a request is aborted, the Promise is rejected with an AbortError, if possible.

nicknisi avatar May 31 '18 18:05 nicknisi