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

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

Wrapper around a spawn function

Required methods

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

Implementors