Type Definition amethyst::Callback[][src]

type Callback = Box<dyn FnOnce(&mut World) + Send>;

The type of a callback. This is meant to be created from within asynchonous functions (Future for example). See CallbackQueue for more details.