Skip to main content

call_handler_needs_exec

Function call_handler_needs_exec 

Source
pub fn call_handler_needs_exec(plan: &ExecPlan, h: &Handler) -> bool
Expand description

Whether a service’s on call handler hands work to the execution context (detach, within or race, directly or through the functions it calls or names, #2719), so the Bundle target’s __makeSurface deps must carry the execution context (deps.__exec) it forwards to the handler. The set is the checker’s (bynk_check::exec_plan::ExecPlan), computed from what it resolved rather than by walking the syntax for method names.