Function static_link_module::main_loop
source · pub async fn main_loop(
om: ObjectManager,
core: Core,
arg: StaticLinkArgs,
input_interest: Interest<Node>,
output_interest: Interest<Node>,
rx: Receiver<()>
)
Expand description
The main logic of the plugin
After all interests are registered,
this waits for events indicating that new nodes match the configured arg
and decides how to link them together.