Skip to main content

reduce

Function reduce 

Source
pub fn reduce(state: RuntimeState, envelope: &Envelope) -> RuntimeState
Expand description

Pure reducer: consumes old state + envelope and returns next state. Delegates to reduce_in_place_with_limits with default retention limits.