mccoroutine-root
/
com.github.shynixn.mccoroutine.minestom
/
suspendingHandler
suspending
Handler
fun <
E
>
<ERROR CLASS>
<
E
>.
suspendingHandler
(server:
<ERROR CLASS>
, listener: suspend (
E
) ->
Unit
):
<ERROR CLASS>
<
E
>
Content copied to clipboard
fun <
E
>
<ERROR CLASS>
<
E
>.
suspendingHandler
(extension:
<ERROR CLASS>
, listener: suspend (
E
) ->
Unit
):
<ERROR CLASS>
<
E
>
Content copied to clipboard
Adds a new suspendable handler to this builder.