Skip to main content

extract_throttle_config

Function extract_throttle_config 

Source
pub(crate) fn extract_throttle_config(
    config: &mut HashMap<FragmentId, (ThrottleConfig, PbStreamNode)>,
    apply: impl FnMut(FragmentId, &PbStreamNode) -> bool,
) -> Option<Mutation>