Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Timers and Signal handling

Time and Timers

  • runtime integration, don't use thread::sleep, etc.
  • std Instant and Duration
  • sleep
  • interval
  • timeout
    • special future vs select/race

Signal handling

  • what is signal handling and why is it an async issue?
  • very OS specific
  • see Tokio docs