pub fn initialize<B: Behavior>(behavior: &mut B) -> BehaviorActed<B>Expand description
Initialize an inner behavior owned by a semantic composition.
This is Bombay’s derived, canonical boundary for wrapper composition; it is not an additional actor-model operation. It invokes the inner initialization fold once per call and returns its complete typed action value without inspecting or transforming it. Callers own the once-per-definition lifecycle rule. 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.