toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-node
/
node.stream
/
Writable
/
emit
emit
fun
emit
(
event
:
WritableEvent.CLOSE
)
:
Boolean
(
source
)
fun
emit
(
event
:
WritableEvent.DRAIN
)
:
Boolean
(
source
)
fun
emit
(
event
:
WritableEvent.ERROR
,
err
:
JsError
)
:
Boolean
(
source
)
fun
emit
(
event
:
WritableEvent.FINISH
)
:
Boolean
(
source
)
fun
emit
(
event
:
WritableEvent.PIPE
,
src
:
Readable
)
:
Boolean
(
source
)
fun
emit
(
event
:
WritableEvent.UNPIPE
,
src
:
Readable
)
:
Boolean
(
source
)
open
fun
emit
(
event
:
String
,
vararg
args
:
Any
?
)
:
Boolean
(
source
)
open
fun
emit
(
event
:
Symbol
,
vararg
args
:
Any
?
)
:
Boolean
(
source
)