Skip to main content

apply

Function apply 

Source
pub fn apply(
    state: &State,
    registry: &FrameRegistry,
    holds: &[Hold],
    envelope: &Envelope,
) -> Result<Transition, Refusal>
Expand description

Applies a request to a state: the new state and what was entered and left, or why not. Pure: the owner writes and publishes.