Skip to content

@ralphschuler.logger.Logger.<internal>.OnReadOpts

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: OnReadOpts

Logger.<internal>.OnReadOpts

Table of contents

Properties

Methods

Properties

buffer

buffer: Uint8Array | () => Uint8Array

Defined in

node_modules/@types/node/net.d.ts:37

Methods

callback

callback(bytesWritten, buf): boolean

This function is called for every chunk of incoming data. Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer. Return false from this function to implicitly pause() the socket.

Parameters

Name Type
bytesWritten number
buf Uint8Array

Returns

boolean

Defined in

node_modules/@types/node/net.d.ts:43

Typescript Libraries

Modules

Namespaces

Clone this wiki locally