Actix
Actor framework for Rust
Actor framework for Rust. Actix uses the Tokio runtime. System::new() creates a new event loop. System.run() starts the Tokio event loop, and will finish once the System actor receives the SystemExit message. Spawning a new actor is achieved via the start and create methods of the Actor trait. It provides several different ways of creating actors; for details, check the docs. You can implement the started, stopping and stop methods of the Actor trait. started gets called when the actor starts and stops when the actor finishes. ...