doc: revise AbortSignal text and example using events.once()
Add a line to the example code to clarify what happens if an event is emitted after listening is canceled. Make minor revisions to surrounding text.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines