Skip to content

Conversation

@masad-frost
Copy link
Member

Why

AsyncDisposable in TypeScript has a signature of [Symbol.asyncDispose]: () => PromiseLike<void>;, ours expects a return of Promise<void> meaning we don't accept interfaces that extend AsyncDisposable.

What changed

Make AsyncDiposables match TypeScript's built-in interface

Versioning

  • Breaking protocol change
  • Breaking ts/js API change

@masad-frost masad-frost requested a review from a team as a code owner August 29, 2025 21:44
@masad-frost masad-frost requested review from Monkatraz and removed request for a team August 29, 2025 21:44
@masad-frost masad-frost merged commit 2833684 into main Sep 2, 2025
9 checks passed
@masad-frost masad-frost deleted the fm-asyncdispose branch September 2, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants