Skip to content

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

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

Interface: DuplexOptions

Logger.<internal>.DuplexOptions

Hierarchy

Table of contents

Properties

Methods

Properties

allowHalfOpen

Optional allowHalfOpen: boolean

Defined in

node_modules/@types/node/stream.d.ts:1018


autoDestroy

Optional autoDestroy: boolean

Inherited from

WritableOptions.autoDestroy

Defined in

node_modules/@types/node/stream.d.ts:952


decodeStrings

Optional decodeStrings: boolean

Inherited from

WritableOptions.decodeStrings

Defined in

node_modules/@types/node/stream.d.ts:979


defaultEncoding

Optional defaultEncoding: BufferEncoding

Inherited from

WritableOptions.defaultEncoding

Defined in

node_modules/@types/node/stream.d.ts:980


emitClose

Optional emitClose: boolean

Inherited from

WritableOptions.emitClose

Defined in

node_modules/@types/node/stream.d.ts:947


encoding

Optional encoding: BufferEncoding

Inherited from

ReadableOptions.encoding

Defined in

node_modules/@types/node/stream.d.ts:955


highWaterMark

Optional highWaterMark: number

Inherited from

WritableOptions.highWaterMark

Defined in

node_modules/@types/node/stream.d.ts:948


objectMode

Optional objectMode: boolean

Inherited from

WritableOptions.objectMode

Defined in

node_modules/@types/node/stream.d.ts:949


readableHighWaterMark

Optional readableHighWaterMark: number

Defined in

node_modules/@types/node/stream.d.ts:1021


readableObjectMode

Optional readableObjectMode: boolean

Defined in

node_modules/@types/node/stream.d.ts:1019


signal

Optional signal: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.

Inherited from

WritableOptions.signal

Defined in

node_modules/@types/node/events.d.ts:456


writableCorked

Optional writableCorked: number

Defined in

node_modules/@types/node/stream.d.ts:1023


writableHighWaterMark

Optional writableHighWaterMark: number

Defined in

node_modules/@types/node/stream.d.ts:1022


writableObjectMode

Optional writableObjectMode: boolean

Defined in

node_modules/@types/node/stream.d.ts:1020

Methods

construct

construct(this, callback): void

Parameters

Name Type
this Duplex
callback (error?: null | Error) => void

Returns

void

Overrides

WritableOptions.construct

Defined in

node_modules/@types/node/stream.d.ts:1024


destroy

destroy(this, error, callback): void

Parameters

Name Type
this Duplex
error null | Error
callback (error: null | Error) => void

Returns

void

Overrides

WritableOptions.destroy

Defined in

node_modules/@types/node/stream.d.ts:1036


final

final(this, callback): void

Parameters

Name Type
this Duplex
callback (error?: null | Error) => void

Returns

void

Overrides

WritableOptions.final

Defined in

node_modules/@types/node/stream.d.ts:1035


read

read(this, size): void

Parameters

Name Type
this Duplex
size number

Returns

void

Overrides

ReadableOptions.read

Defined in

node_modules/@types/node/stream.d.ts:1025


write

write(this, chunk, encoding, callback): void

Parameters

Name Type
this Duplex
chunk any
encoding BufferEncoding
callback (error?: null | Error) => void

Returns

void

Overrides

WritableOptions.write

Defined in

node_modules/@types/node/stream.d.ts:1026


writev

writev(this, chunks, callback): void

Parameters

Name Type
this Duplex
chunks { chunk: any ; encoding: BufferEncoding }[]
callback (error?: null | Error) => void

Returns

void

Overrides

WritableOptions.writev

Defined in

node_modules/@types/node/stream.d.ts:1027

Typescript Libraries

Modules

Namespaces

Clone this wiki locally