Skip to main content

Module Execute

Module Execute 

Source
Expand description

Effect execution logic. Bridge between the declarative ActionEffect system and the Echo work-stealing scheduler. Three entry points: bare Run (trait method), RunWithTimeout, and RunWithRetry.

Modulesยง

Run
ApplicationRunTimeTrait::Run - submit an ActionEffect to the Echo work-stealing scheduler and block on the oneshot reply.
RunWithRetry
Retry a failing effect with exponential back-off, doubling the inter- attempt delay after each failure to avoid overwhelming the recovering system.
RunWithTimeout
Cancel an effect that exceeds a wall-clock budget. Wraps Run in tokio::time::timeout and converts the elapsed-error into CommonError::Unknown.