FdSink
Defined in: src/access-log.ts:40
A sink backed by a file descriptor; uses synchronous writes for ordering.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FdSink(fd): FdSink;Defined in: src/access-log.ts:42
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
fd | number |
Returns
Section titled “Returns”FdSink
Methods
Section titled “Methods”write()
Section titled “write()”write(line): void;Defined in: src/access-log.ts:44
Write line to the file descriptor, looping until the buffer is fully flushed.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
line | string |
Returns
Section titled “Returns”void