Skip to main content

Module background

Module background 

Source
Expand description

Task primitives in background thread flavour.

This allows the function which is dedicated to background threads to directly write use aeth::task::background, and then background::spawn or background::loopback.

Re-exports§

pub use super::dispatch_background as spawn;
pub use super::dispatch_foreground as loopback;

Functions§

assert
Assert current thread is a background thread.