Support AbortController
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 2.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice if the timeout could be set using an AbortController to unify calls for different versions of Oracle.
await oracledb.getConnection({signal: AbortSignal.timeout(60_000)});
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the getConnection API, where the issue shows AbortSignal.timeout() being passed as signal, and inspect how timeout behavior differs across Oracle versions. Determine how AbortController cancellation should be supported consistently, then verify that the signal is accepted and cancellation works across the relevant versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100