pub fn taskwd_insert(
name: impl Into<String>,
check_in: CheckIn,
callback: Option<TaskwdCallback>,
) -> TaskwdEntryExpand description
Watch this task ā C taskwdInsert (taskwd.c:177-205).
name is what the console line and taskwd_show call it; give it the
name the thread or task already has, so an operator can match the two.
callback is what the task wants done when it is found stuck (Cās
TASKWDFUNC); most call sites have none.
The task is watched until the returned handle is dropped.