Skip to content

Support for AbortSignal in spanner requests #2432

@jvliwanag

Description

@jvliwanag

Looking for a clean way to abort an in progress spanner API call. Being able to support AbortSignal would be easiest from the user side. I'm not sure though if this feature should live within nodejs-spanner or higher up such as gax or grpc-js.

What would you like to see in the library?

When sending API requests, be able to attach an AbortSignal.

Describe alternatives you've considered

Limiting retry options and timeouts can help, but not quite what sending in AbortSignal aims to solve.

Additional context/notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: spannerIssues related to the googleapis/nodejs-spanner API.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions