extend

open fun extend(@NotNull dispatcher: @NotNull BoneEventDispatcher)

Extends this dispatcher with another dispatcher's handlers.

The handlers from the provided dispatcher will be executed before the handlers in this dispatcher.

Since

1.15.2

Parameters

dispatcher

the dispatcher to extend

Throws

if attempting to extend self