refactor: fastFailMetadataRequest
to use Promise.any
#603
Labels
good first issue
This issue is a good place to started contributing to this repository.
next major: breaking change
this is a change that we should wait to bundle into the next major version
priority: p3
Desirable enhancement or fix. May not be included in next release.
semver: major
Hint for users that this is an API breaking change.
type: cleanup
An internal cleanup or hygiene concern.
We can streamline
fastFailMetadataRequest
by usingPromise.any
in Node 15+ rather thanPromise.race
:gcp-metadata/src/index.ts
Lines 179 to 229 in 92f258c
The text was updated successfully, but these errors were encountered: