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