interface ListenerEvents {
    close: CustomEvent<any>;
    connection: CustomEvent<Connection>;
    error: CustomEvent<Error>;
    listening: CustomEvent<any>;
}

Properties

close: CustomEvent<any>
connection: CustomEvent<Connection>
listening: CustomEvent<any>