Skip to main content

ReactionHookFn

Type Alias ReactionHookFn 

Source
pub type ReactionHookFn = unsafe extern "C" fn(*const ReactionEvent, *mut c_void);
Expand description

phase-503 – the reaction hook: called on the spin thread, inside spin_once, once per missed route deadline. It must not block; it starts the fallback (or hands it to another thread) and returns. ctx is what was registered with the hook.