Skip to main content

on_invocation

Function on_invocation 

Source
pub fn on_invocation()
Expand description

Called once per real ct invocation. Reads the cached state, prints the first-run and “update available” notices when due (only to a terminal, so scripts and pipes stay clean), and — if a poll is due — claims the slot and spawns the detached background poll. Does no network I/O itself. Silent and infallible: any problem is swallowed.