Interface WritableStream
Hierarchy
-
EventEmitter
- WritableStream
Implemented by
Index
Properties
writable
Methods
addListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
emit
-
Parameters
-
event: string | symbol
-
Rest ...args: any[]
Returns boolean
-
end
-
Returns void
-
Parameters
-
buffer: Buffer
-
Optional cb: Function
Returns void
-
-
Parameters
-
str: string
-
Optional cb: Function
Returns void
-
-
Parameters
-
str: string
-
Optional encoding: string
-
Optional cb: Function
Returns void
-
eventNames
-
Returns (string | symbol)[]
getMaxListeners
-
Returns number
listenerCount
-
Parameters
-
type: string | symbol
Returns number
-
listeners
-
Parameters
-
event: string | symbol
Returns Function[]
-
on
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
once
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
prependListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
prependOnceListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
removeAllListeners
-
Parameters
-
Optional event: string | symbol
Returns this
-
removeListener
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
-
setMaxListeners
-
Parameters
-
n: number
Returns this
-
write
-
Parameters
-
buffer: Buffer | string
-
Optional cb: Function
Returns boolean
-
-
Parameters
-
str: string
-
Optional encoding: string
-
Optional cb: Function
Returns boolean
-
Generated using TypeDoc