Open
Description
Not sure if it is the right place...
I’m working with an AbortSignal
and some C code (extern "C"
). I need to pass a reference to AbortSignal.aborted
(a boolean) to the C code, which runs async work.
Right now, I’m using a bool
pointer and an addEventListener
to update the value, but this hurts performance. Is there a way to directly reference aborted
?
Thanks!
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Need Triage