4 ms·
Does rust async support this?
by The_rationalist 7y ago
Does rust async support this?
- pitaj 7y agoRust async is just syntax: there is no event loop built into the language.
- Rusky 7y agoSome async runtime libraries have started offering an attribute on `fn main` to make it async, which is pretty close to the same thing.
- monocasa 7y agoTokio does with a #[tokio:main] attribute on the main function.