Skip to main content

throttler_resume

Function throttler_resume 

Source
pub fn throttler_resume<T, F>(actor_id: Ustr) -> TimeEventCallback
where T: 'static + Debug, F: Fn(T) + 'static,
Expand description

Sets throttler to resume sending messages.

Uses try_get_actor_unchecked so that embedded throttlers (not registered in the actor registry) are handled gracefully. The send() auto-reset ensures such throttlers recover once the rate window passes.