Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-node
/
node.stream
/
Writable
/
addListener
add
Listener
open
fun
addListener
(
event
:
String
,
listener
:
Function
<
Unit
>
)
(
source
)
Event emitter The defined events on documents including:
close
drain
error
finish
pipe
unpipe
open
fun
addListener
(
event
:
<Error class: unknown class>
,
listener
:
Function
<
Unit
>
)
(
source
)