Skip to content

Support AbortController #38

Open
Open
@MortezaNajafian

Description

@MortezaNajafian

hello dear
Do this module support AbortController and signal config like this ?

const controller = new AbortController();

axios.get('/foo/bar', {
   signal: controller.signal
}).then(function(response) {
   //...
});
// cancel the request
controller.abort()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions