Skip to main content

allow

Function allow 

Source
pub(crate) fn allow(state: &AppState, sender_key: &str) -> Result<(), String>
Expand description

Count one start by sender_key and say whether it may go ahead. Err names the limit and when the sender may start again; the refused start is not counted.