googleapis / googleapis/google-cloud-node

Support for AbortSignal in spanner requests

Open
#7,365 0 comments 0 reactions 0 assignees View on GitHub
api: spanner library: spanner
Dominant language
TypeScript
Stars
3.2k
Forks
712
Avg merge
2d 3h
Merged PRs (30d)
99

Description

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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.