Build
Docs
Reference
Guides
Blog
Discord
/
node:stream
/
default
/
WritableOptions
P
autoDestroy
P
construct
P
decodeStrings
P
defaultEncoding
P
destroy
P
emitClose
P
final
P
highWaterMark
P
objectMode
P
signal
P
write
P
writev
Search the reference...
/
Build
Docs
Reference
Guides
Blog
Discord
/
node:stream
/
default
/
WritableOptions
P
autoDestroy
P
construct
P
decodeStrings
P
defaultEncoding
P
destroy
P
emitClose
P
final
P
highWaterMark
P
objectMode
P
signal
P
write
P
writev
interface
stream.default.WritableOptions
interface
WritableOptions
<
T
extends
Writable
=
Writable
>
autoDestroy
?
:
boolean
construct
?
:
(
this
:
T
,
callback
:
(
error
?
:
null
|
Error
)
=>
void
)
=>
void
decodeStrings
?
:
boolean
defaultEncoding
?
:
BufferEncoding
destroy
?
:
(
this
:
T
,
error
:
null
|
Error
,
callback
:
(
error
?
:
null
|
Error
)
=>
void
)
=>
void
emitClose
?
:
boolean
final
?
:
(
this
:
T
,
callback
:
(
error
?
:
null
|
Error
)
=>
void
)
=>
void
highWaterMark
?
:
number
objectMode
?
:
boolean
signal
?
:
AbortSignal
write
?
:
(
this
:
T
,
chunk
:
any
,
encoding
:
BufferEncoding
,
callback
:
(
error
?
:
null
|
Error
)
=>
void
)
=>
void
writev
?
:
(
this
:
T
,
chunks
:
{
chunk
:
any
;
encoding
:
BufferEncoding
}
[]
,
callback
:
(
error
?
:
null
|
Error
)
=>
void
)
=>
void