pub(crate) fn maybe_shortcircuit_spawns(
    item_fn: &ItemFn,
    argument_mapping_context: &ArgumentMappingContext,
    target_signatures_by_key: &HashMap<&String, Signature>
) -> Result<ItemFn, Error>
Expand description

Attempts to shortcircuit nando_spawn!() calls if all arguments are available.

This method will rewrite all nando_spawn!() invocations into direct function calls, provided that it can detect with certainty that all dependencies are immediately resolvable (see local_binding_is_unresolvable for an explanation).