Skip to content

Sprinkle AbortSignals over the code to make it cancellable - #140

Open
zner0L wants to merge 3 commits into
mainfrom
z_abort
Open

zner0L wants to merge 3 commits into
mainfrom
z_abort

Conversation

@zner0L

@zner0L zner0L commented Nov 22, 2024

Copy link
Copy Markdown
Contributor

This is a precursor to tweaselORG/cyanoacrylate#55.

Comment thread src/android.ts Outdated
Comment thread src/android.ts Outdated
Comment thread src/index.ts
Comment thread src/ios.ts
@zner0L
zner0L requested a review from baltpeter November 25, 2024 14:18
baltpeter
baltpeter previously approved these changes Nov 25, 2024

@baltpeter baltpeter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested this but it looks good. If you want me to test, it'll have to wait until tomorrow. Otherwise, feel free to merge and release.

It turns out warnings are good for something. We needed to remove the listeners if a timeout completes sucessfully, see nodejs/node#35990
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.

2 participants