async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > AbortSignalLike > addEventListener

AbortSignalLike.addEventListener() method

Signature:

addEventListener(type: 'abort', listener: () => void, options: {
        once: boolean;
    }): void;

Parameters

Parameter Type Description
type ‘abort’  
listener () => void  
options { once: boolean; }  

Returns:

void