core
1.0-RC1
js
core
/
dev.fritz2.core
/
WithEvents
/
subscribe
subscribe
js
abstract
fun
<
X
:
Event
>
subscribe
(
name
:
String
)
:
Listener
<
X
,
T
>
Content copied to clipboard
Creates an
Listener
for the given event
name
.
Parameters
name
of the
Event
to listen for