Function set_accepted

Source
pub fn set_accepted(value: f64)
Expand description

Records a decision indicating that the plugin wants to accept a request.

This function is sugar for set_decision(Decision { value, 0.0, 0.0 }.scale()) If used with a 1.0 value it should be given a weight in its config.

ยงArguments

  • value - The accept value to set.