Skip to main content

Wake

Type Alias Wake 

Source
pub type Wake = Arc<dyn Fn() + Send + Sync>;
Expand description

A callback that tells the host about something it should act on, such as frame results to drain. It runs on a library thread and must not block.

Aliased Typeยง

pub struct Wake { /* private fields */ }