Module resource_actions
Expand description
Toolkit-owned host for a small app’s typed resource/action surface.
Apps provide their retained root, one discoverable resource, and an immediate operation closure. The host supplies the widget forwarding and invocation lifecycle; scaffolds do not need to copy that infrastructure into every new project.
Structs§
- Action
Form - One action whose arguments and live UI state are declared together.
- Resource
Action Host - Transparent retained root that publishes and executes one app resource.
Constants§
- OPERATION_
TYPE - Shared effect-operation type used by the one-resource app host.
Traits§
- Action
Value - A value that can connect a
LocalStatefield directly to a typed resource action.
Functions§
- form
- Mount a connected action form around its visible controls.
- immediate
- Wrap a root with a synchronous typed resource operation.
- resource
- Build one resource with a unit operation.
- typed_
resource - Build one resource whose arguments are schema-bound.