Macro mesh_worker::register_workers

source ยท
macro_rules! register_workers {
    {} => { ... };
    { $($(#[$attr:meta])* $worker:ty),+ $(,)? } => { ... };
}
Expand description

Registers workers for use with RegisteredWorkers.

You can invoke this macro multiple times, even from different crates. All registered workers will be available from any user of RegisteredWorkers.