Skip to main content

any_service_binds_caller

Function any_service_binds_caller 

Source
pub fn any_service_binds_caller<'a>(
    services: impl IntoIterator<Item = &'a ServiceDecl>,
    actors: &HashMap<String, ActorDecl>,
) -> bool
Expand description

v0.54 (#655): whether any of services declares an on call … by c: Caller handler, whose emitted deps carries the calling context’s qualified name as its CallerId identity (ADR 0092). This is the single predicate both bundle caller-identity seams consult — emit_make_surface (which adds the __caller parameter) and the compose root (which passes the name) — so the two can never disagree on which providers thread a caller. caller_binder_for self-guards HandlerKind::Call, so no kind filter is needed or wanted here.