Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
GridFSStream
WriteStream
Interface WriteStream
Hierarchy
WritableStream
WriteStream
Index
Properties
id
mode
name
options
writable
Methods
addListener
emit
end
listeners
on
once
removeAllListeners
removeListener
setMaxListeners
write
Properties
public
id
:
string
public
mode
:
string
public
name
:
string
public
options
:
Options
public
writable
:
boolean
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
emit
(
event
:
string
, args
?:
Array<any>
)
:
boolean
Parameters
event:
string
args?:
Array<any>
optional
Returns
boolean
public
end
(
)
public
end
(
buffer
:
Buffer
, cb
?:
Function
)
Parameters
buffer:
Buffer
cb?:
Function
optional
public
end
(
str
:
string
, cb
?:
Function
)
Parameters
str:
string
cb?:
Function
optional
public
end
(
str
:
string
, encoding
?:
string
, cb
?:
Function
)
Parameters
str:
string
encoding?:
string
optional
cb?:
Function
optional
public
listeners
(
event
:
string
)
:
Array<Function>
Parameters
event:
string
Returns
Array<Function>
public
on
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
once
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
removeAllListeners
(
event
?:
string
)
:
EventEmitter
Parameters
event?:
string
optional
Returns
EventEmitter
public
removeListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
public
write
(
buffer
:
Buffer
, cb
?:
Function
)
:
boolean
Parameters
buffer:
Buffer
cb?:
Function
optional
Returns
boolean
public
write
(
str
:
string
, cb
?:
Function
)
:
boolean
Parameters
str:
string
cb?:
Function
optional
Returns
boolean
public
write
(
str
:
string
, encoding
?:
string
, cb
?:
Function
)
:
boolean
Parameters
str:
string
encoding?:
string
optional
cb?:
Function
optional
Returns
boolean
Globals
GridFSStream
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
gridfs-stream
http
https
mongodb
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
Options
Range
ReadStream
WriteStream
id
mode
name
options
writable
addListener
emit
end
listeners
on
once
removeAllListeners
removeListener
setMaxListeners
write