A lightweight JSON RPC client & server
Home > async-call-rpc > AbortSignalLike > addEventListener
Signature:
addEventListener(type: 'abort', listener: () => void, options: {
once: boolean;
}): void;
Parameter | Type | Description |
---|---|---|
type | ‘abort’ | |
listener | () => void | |
options | { once: boolean; } |
Returns:
void