pub fn delegate_transition<B: Behavior>(
behavior: &mut B,
event: B::Event,
) -> BehaviorActed<B>Expand description
Fold one event through an inner behavior owned by a semantic wrapper.
This is Bombay’s derived, canonical boundary for wrapper composition; it is not an additional actor-model operation. It invokes the inner deterministic fold exactly once and returns its complete typed action value without inspecting or transforming it. It does not execute a runtime turn, interpret effects, or provide an alternate actor executor; top-level runtime transitions remain the responsibility of the runtime’s machine adapter.
§Errors
Returns the inner behavior’s controlled transition failure unchanged.