DuplexOptions
Properties
allowHalfOpen
booleanautoDestroy
booleandecodeStrings
booleandefaultEncoding
BufferEncodingemitClose
booleanencoding
BufferEncodinghighWaterMark
numberobjectMode
booleanreadableHighWaterMark
numberreadableObjectMode
booleansignal
AbortSignalWhen provided the corresponding
AbortController
can be used to cancel an asynchronous action.writableCorked
numberwritableHighWaterMark
numberwritableObjectMode
booleanMethods
construct
Parameters
Returns
void
voiddestroy
Parameters
Returns
void
voidfinal
Parameters
Returns
void
voidread
Parameters
size
numberRequiredReturns
void
voidwrite
Parameters
chunk
anyRequiredReturns
void
voidwritev
Parameters
Returns
void
voidWas this section helpful?