Trait RemoteCallable
Source pub trait RemoteCallable<T> {
// Required methods
fn call(&self, ctx: &T);
fn abort(&self);
}
Expand description
A dyn compatible trait intended to be used with types
like Debounce
and Throttle
.
Call the function with the provided context.