Interlink Async framework
Interlink runs on the Tokio async runtime and structures portions of your app using "Services" which can be communicated with using "Links" which allow sending messages to Services that can then be handled
🚩 This project is in its very early infantcy so breaking changes are expected and at this stage its not entirely feature complete or tested
Adding the following cargo dependency to include interlink in your project
 = "0.1"
Starting a service
In order to get a link to a service and for the service to run you will first need to start the service
use *; /// Define your backing structure for the service you can use /// the service derive macro here or implement the trait to /// get access to the `started` and `stopping` hooks ; // You must be within the tokio runtime to use interlink async
Sending a message to a service
To communicate with services and between services you use messages below is an example of how to create and send messages.
use *; // Define your backing structure for the service ; // The message struct with a string response type /// Implement a handler for the message type // You must be within the tokio runtime to use interlink async