KStateMachine / kstatemachine

KStateMachine is a Kotlin DSL library for creating state machines and statecharts.
https://kstatemachine.github.io/kstatemachine/
Boost Software License 1.0
339 stars 19 forks source link

Allow calling processEvents() from listener callbacks #43

Closed nsk90 closed 1 year ago

nsk90 commented 1 year ago

Currently such pending events are passed to PendingEventHandler and there are three options:

Such queue may be implemented on library side allowing processing of pending events by default.

nsk90 commented 1 year ago

Done in https://github.com/nsk90/kstatemachine/releases/tag/v0.13.0