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

Properties

Properties

close: CustomEvent<any>

Emitted when the listener has been shut down, has no open connections and will no longer accept new connections

Emitted if listening on an address failed

listening: CustomEvent<any>

This event signals to the transport manager that the listening addresses have changed and may be emitted at any point and/or multiple times