Class: PipeServerSocket
Extends
AsyncDisposable
Constructors
Constructor
new PipeServerSocket(
path,options?):PipeServerSocket
Parameters
path
string
options?
Returns
PipeServerSocket
Properties
closed
readonlyclosed:Promise<void>
opened
readonlyopened:Promise<PipeServerSocketOpenInfo>
Methods
close()
close():
void
Initiates close. Use closed to await full teardown.
Also async-disposable: at the end of an
await using s = new PipeServerSocket(...) scope the listener is
closed and closed is awaited.
Returns
void