pub trait Threaded { fn register(); }
Implements rules to register a worker in a separate thread.
Executes an agent in the current environment. Uses in main function of a worker.
main