[−][src]Trait yatp::LocalSpawn
Allows spawn a task inside the thread pool.
Associated Types
type Task
type Remote: RemoteSpawn
Required methods
fn spawn(&mut self, t: impl Into<Self::Task>)
fn remote(&self) -> Self::Remote
Gets a remote instance to allow spawn task back to the pool.