Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's that? Some alternative to AbortSignal to gently prevent async code from continuing all the way to its logical conclusion?

Also please be sensitive and don't use "kill" in new code. ;) We already have to deal with "abort".




Yeah, kill is very tasteless. We're migrating our code base to use the new term "fuckingAnnihilateRuthlessly" instead.


Personally, "abort" is kinda gross to me due to calling to mind certain unsavory images, but that's clearly my problem, not Node's!


> What's that? Some alternative to AbortSignal to gently prevent async code from continuing all the way to its logical conclusion?

Yes, a way to terminate down-stream. It turns out to be a pretty messy problem. I didn't know AbortSignal was in Node now. It's been a while since I revisited this issue. I should read more.

> Also please be sensitive and don't use "kill" in new code. ;) We already have to deal with "abort".

Point taken!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: