Struct promising_future::ThreadSpawner [] [src]

pub struct ThreadSpawner;

An implementation of Spawner that creates normal std::thread threads.

Trait Implementations

impl Spawner for ThreadSpawner

fn spawn<F>(&self, f: F) where F: FnOnce() + Send + 'static