Search
Preparing search index...
The search index is not available
typescript
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"node_modules/@types/node/globals.d"
NodeJS
WriteStream
Interface WriteStream
Hierarchy
Socket
WriteStream
Index
Properties
columns
isTTY
readable
rows
writable
writable
High
Water
Mark
writable
Length
Methods
__@async
Iterator
_destroy
_final
_write
add
Listener
cork
destroy
emit
end
event
Names
get
Max
Listeners
is
Paused
listener
Count
listeners
off
on
once
pause
pipe
prepend
Listener
prepend
Once
Listener
raw
Listeners
read
remove
All
Listeners
remove
Listener
resume
set
Default
Encoding
set
Encoding
set
Max
Listeners
uncork
unpipe
unshift
wrap
write
Properties
Optional
columns
columns
:
undefined
|
number
Optional
isTTY
isTTY
:
undefined
|
true
readable
readable
:
boolean
Optional
rows
rows
:
undefined
|
number
writable
writable
:
boolean
writable
High
Water
Mark
writable
High
Water
Mark
:
number
writable
Length
writable
Length
:
number
Methods
__@async
Iterator
__@async
Iterator
(
)
:
AsyncIterableIterator
<
string
|
Buffer
>
Returns
AsyncIterableIterator
<
string
|
Buffer
>
_destroy
_destroy
(
err
:
Error
|
null
, callback
:
Function
)
:
void
Parameters
err:
Error
|
null
callback:
Function
Returns
void
_final
_final
(
callback
:
Function
)
:
void
Parameters
callback:
Function
Returns
void
_write
_write
(
chunk
:
any
, encoding
:
string
, callback
:
Function
)
:
void
Parameters
chunk:
any
encoding:
string
callback:
Function
Returns
void
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
cork
cork
(
)
:
void
Returns
void
destroy
destroy
(
error
?:
Error
)
:
void
Parameters
Optional
error:
Error
Returns
void
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
end
end
(
cb
?:
Function
)
:
void
end
(
buffer
:
Buffer
, cb
?:
Function
)
:
void
end
(
str
:
string
, cb
?:
Function
)
:
void
end
(
str
:
string
, encoding
?:
undefined
|
string
, cb
?:
Function
)
:
void
Parameters
Optional
cb:
Function
Returns
void
Parameters
buffer:
Buffer
Optional
cb:
Function
Returns
void
Parameters
str:
string
Optional
cb:
Function
Returns
void
Parameters
str:
string
Optional
encoding:
undefined
|
string
Optional
cb:
Function
Returns
void
event
Names
event
Names
(
)
:
Array
<
string
|
symbol
>
Returns
Array
<
string
|
symbol
>
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
is
Paused
is
Paused
(
)
:
boolean
Returns
boolean
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
off
off
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
on
on
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
once
once
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
pause
pause
(
)
:
this
Returns
this
pipe
pipe<T>
(
destination
:
T
, options
?:
undefined
|
object
)
:
T
Type parameters
T
:
WritableStream
Parameters
destination:
T
Optional
options:
undefined
|
object
Returns
T
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
read
read
(
size
?:
undefined
|
number
)
:
string
|
Buffer
Parameters
Optional
size:
undefined
|
number
Returns
string
|
Buffer
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
this
Parameters
Optional
event:
string
|
symbol
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
resume
resume
(
)
:
this
Returns
this
set
Default
Encoding
set
Default
Encoding
(
encoding
:
string
)
:
this
Parameters
encoding:
string
Returns
this
set
Encoding
set
Encoding
(
encoding
:
string
)
:
this
Parameters
encoding:
string
Returns
this
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
this
Parameters
n:
number
Returns
this
uncork
uncork
(
)
:
void
Returns
void
unpipe
unpipe
(
destination
?:
WritableStream
)
:
this
Parameters
Optional
destination:
WritableStream
Returns
this
unshift
unshift
(
chunk
:
string
)
:
void
unshift
(
chunk
:
Buffer
)
:
void
Parameters
chunk:
string
Returns
void
Parameters
chunk:
Buffer
Returns
void
wrap
wrap
(
oldStream
:
ReadableStream
)
:
this
Parameters
oldStream:
ReadableStream
Returns
this
write
write
(
buffer
:
Buffer
|
string
, cb
?:
Function
)
:
boolean
write
(
str
:
string
, encoding
?:
undefined
|
string
, cb
?:
Function
)
:
boolean
Parameters
buffer:
Buffer
|
string
Optional
cb:
Function
Returns
boolean
Parameters
str:
string
Optional
encoding:
undefined
|
string
Optional
cb:
Function
Returns
boolean
Globals
"node_
modules/@types/node/globals.d"
NodeJS
set
Immediate
set
Timeout
Write
Stream
columns
isTTY
readable
rows
writable
writable
High
Water
Mark
writable
Length
__@async
Iterator
_destroy
_final
_write
add
Listener
cork
destroy
emit
end
event
Names
get
Max
Listeners
is
Paused
listener
Count
listeners
off
on
once
pause
pipe
prepend
Listener
prepend
Once
Listener
raw
Listeners
read
remove
All
Listeners
remove
Listener
resume
set
Default
Encoding
set
Encoding
set
Max
Listeners
uncork
unpipe
unshift
wrap
write
Generated using
TypeDoc