qmuntal / stateless

Go library for creating finite state machines
BSD 2-Clause "Simplified" License
898 stars 47 forks source link

Does FiringQueued statemachine run to complete if any error occurs? #67

Open liang-kang opened 10 months ago

liang-kang commented 10 months ago

in internalFireQueued, trigger events will be added to queue and execute one by one.

If sm.internalFireOne() got error, and no trigger event come again, the event queue will not be exhausted for ever.

Do that work as design?

How to trigger the queued events in this case?