close

open override fun close()

Closes the event dispatcher and cancels all subscriptions.

This method gracefully shuts down the dispatcher by canceling both domain event and state event subscriptions.

See also

BaseSubscriber.cancel