Trait script::network_listener::PreInvoke

source ·
pub trait PreInvoke {
    // Provided method
    fn should_invoke(&self) -> bool { ... }
}
Expand description

A gating mechanism that runs before invoking the task on the target thread. If the should_invoke method returns false, the task is discarded without being invoked.

Provided Methods§

Implementors§