Skip to content

Support AbortSignal for aborting requests? #93

@achingbrain

Description

@achingbrain

Axios has supported abort signals since 0.22.0, it'd be great if that could be bubbled up to the API of this module:

const cert = await client.auto({
  // ...args
  signal: AbortSignal.timeout(10000) // throw an `AbortError` after 10s if still in progress
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions