Interface Listener

interface Listener {
    localAddress: Address;
    [asyncIterator](): AsyncIterator<Connection, any, undefined>;
    accept(): Promise<Connection>;
    close(): void;
}

Hierarchy

Properties

localAddress: Address

Methods

  • Returns AsyncIterator<Connection, any, undefined>

  • Returns void