[][src]Trait ipfs_sqlite_block_store::cache::Spawner

pub trait Spawner: Send {
    pub fn spawn_blocking(&self, f: impl FnOnce() + Send + 'static);
}

Wrapper around a spawn function

Required methods

pub fn spawn_blocking(&self, f: impl FnOnce() + Send + 'static)[src]

Called by the cache tracker to spawn a small, blocking, io bound task

Loading content...

Implementors

Loading content...