interface Deno.Listener
A generic network listener for stream-oriented protocols.
close(): voidClose closes the listener. Any pending accept promises will be rejected with errors.
[[Symbol.asyncIterator]](): AsyncIterableIterator<T>ref(): voidMake the listener block the event loop from finishing.
Note: the listener blocks the event loop from finishing by default.
This method is only meaningful after .unref() is called.
unref(): voidMake the listener not block the event loop from finishing.