ReadonlyabortedReadonlynativeReturns a native signal on supported platforms.
ReadonlyreasonThe reason passed to abort.
Adds an event handler for the given typed event.
The key representing the event type to listen for.
A callback to invoke when the event with the given type is dispatched.
Optionaloptions: SignalOptionsOptions for changing listening behavior.
Returns a method, when invoked, removes the handler.
Invokes a callback on 'abort', or immediately if already aborted.
True if aborted.