Enum native_timer::CallbackHint
source · pub enum CallbackHint {
QuickFunction,
SlowFunction,
}
Expand description
Scheduler hint about the callback function.
Variants§
QuickFunction
The callback function execution is quick. The scheduler may use a common timer thread for executing the function.
SlowFunction
The callback function execution takes time. The schedule may create a dedicated thread for the function.