smithy-lang / smithy-typescript

Smithy code generators for TypeScript. (in development)
Apache License 2.0
224 stars 83 forks source link

chore: switch to platform AbortController & Signal implementations after dropping Node.js 14 #1308

Closed kuhe closed 3 months ago

kuhe commented 3 months ago

fixes https://github.com/aws/aws-sdk-js-v3/issues/4872 fixes https://github.com/smithy-lang/smithy-typescript/issues/974

this deprecates our own Abort types and implementation and switches to the platform types where available.

AbortController / AbortSignal are available in Node.js 16+.

trivikr commented 3 months ago

Verified that AbortController was made stable in Node.js v15.4.0

https://nodejs.org/api/globals.html#class-abortcontroller

kuhe commented 3 months ago

confirmed TS22 is action runner memory issue