mccoroutine-root
/
com.github.shynixn.mccoroutine.minestom
/
addSuspendingListener
add
Suspending
Listener
fun <
E
>
<ERROR CLASS>
<in
E
>.
addSuspendingListener
(server:
<ERROR CLASS>
, eventType:
Class
<
E
>, listener: suspend (
E
) ->
Unit
)
Content copied to clipboard
fun <
E
>
<ERROR CLASS>
<in
E
>.
addSuspendingListener
(extension:
<ERROR CLASS>
, eventType:
Class
<
E
>, listener: suspend (
E
) ->
Unit
)
Content copied to clipboard
Adds a new suspendable listener to this event node.