Skip to main content

Class: PipeServerSocket

Extends​

  • AsyncDisposable

Constructors​

Constructor​

new PipeServerSocket(path, options?): PipeServerSocket

Parameters​

path​

string

options?​

PipeServerSocketOptions

Returns​

PipeServerSocket

Properties​

closed​

readonly closed: Promise<void>


opened​

readonly opened: 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