Skip to main content

Class: PipeSocket

Extends​

  • AsyncDisposable

Constructors​

Constructor​

new PipeSocket(path): PipeSocket

Parameters​

path​

string

Returns​

PipeSocket

Properties​

closed​

readonly closed: Promise<void>


opened​

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