[−][src]Trait agnostik::LocalAgnostikExecutor
This trait represents an executor that is capable of spawning futures onto the same thread.
Required methods
fn spawn_local<F>(&self, future: F) -> JoinHandle<F::Output>ⓘImportant traits for JoinHandle<R>
impl<R> Future for JoinHandle<R> where
R: 'static + Send, type Output = R;
where
F: Future + 'static,
F::Output: 'static,
Important traits for JoinHandle<R>
impl<R> Future for JoinHandle<R> where
R: 'static + Send, type Output = R;
F: Future + 'static,
F::Output: 'static,
Spawns a future that doesn't implement Send.
The spawned future will be executed on the same thread that called spawn_local
.