Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Support the abortable fetch API #390

Closed
dasa opened this issue Apr 26, 2018 · 1 comment
Closed

Support the abortable fetch API #390

dasa opened this issue Apr 26, 2018 · 1 comment
Assignees

Comments

@dasa
Copy link

dasa commented Apr 26, 2018

Enhancement

Add support for a signal: AbortSignal property to RequestOptions

Package Version: 2.x

Code

This would allow core/request to support the Abortable fetch pattern.

There'd need to be a shim for AbortController too.

@nicknisi nicknisi self-assigned this May 30, 2018
nicknisi added a commit to nicknisi/core that referenced this issue May 31, 2018
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
nicknisi added a commit to nicknisi/core that referenced this issue May 31, 2018
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
@nicknisi
Copy link
Member

@dasa This fix has been merged into @dojo/framework via dojo/framework#30 and will be included in Dojo 3. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants