macro_rules! register_task {
($name:ident, priority = $prio:expr, poll_fn = $poll:expr, completed = $completed:expr, buf = $buf:expr) => { ... };
}Expand description
Convenience macro to declare a task registration by hand (used
internally by #[rivet::task], and available for advanced manual use).
ⓘ
rivet::register_task!(MY_TASK, priority = 1, poll_fn = my_poll, buf = MY_BUF);