Module: Plushie::Runtime::Commands
- Included in:
- Plushie::Runtime
- Defined in:
- lib/plushie/runtime/commands.rb
Overview
Command execution engine for the Plushie runtime.
Handles all Command::Cmd types returned by app.update and app.init. Included into Runtime as a mixin.
Constant Summary collapse
- DISPATCH_DEPTH_LIMIT =
Maximum synchronous
Command.dispatchchain depth before the runtime guard fires.Command.dispatchqueues a follow-up event back through the runtime mailbox; a pathologicalupdatethat keeps returning another dispatch would fill the queue indefinitely, so the runtime caps the chain and surfaces a typedDispatchLoopExceededdiagnostic. 100