Module EffectCreation

Module EffectCreation 

Source
Expand description

Contains the logic for creating ActionEffects from request payloads.

§EffectCreation

Contains the logic for creating ActionEffects by mapping string-based command and RPC method names to their strongly-typed effect constructors in the Common crate. This is the central routing table of the application.

Functions§

CreateEffectForRequest
Creates an ActionEffect or a direct provider call for a request from any source (frontend or sidecar). This function is the primary router for the entire backend application logic.

Type Aliases§

MappedEffect
A type alias for a boxed, runnable effect. This is the “type-erased” unit of work that the dispatch logic can execute.