Skip to main content

module

Macro module 

Source
macro_rules! module {
    ($run:path) => { ... };
}
Expand description

Exports the turn of a plugin, run being what it runs at its start: escouade_plugin_protocol::module!(run);. A module’s first turn calls it; it keeps the plugin (turn::run, escouade_plugin_kit::serve::run), and every turn then runs on what came. Natively, it is nothing: escouade-plugins calls run.