Spawning and Task Ownership
Chapter placeholder: show how
tokio::spawnchangesSend,'static, result, and panic boundaries.
Primary question: why can an awaited future borrow locally while a spawned task usually must own its captured data?
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
Chapter placeholder: show how
tokio::spawnchangesSend,'static, result, and panic boundaries.
Primary question: why can an awaited future borrow locally while a spawned task usually must own its captured data?