Adesoji1 / Real-world-Non-blocking-Integration

This code effectively demonstrates how to use Tokio's LocalSet to execute asynchronous tasks without blocking the main thread, which is key to integrating it with an external event loop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real-world-Non-blocking-Integration

This code effectively demonstrates how to use Tokio's LocalSet to execute asynchronous tasks without blocking the main thread, which is key to integrating it with an external event loop , all commented codes in main. rs do the same operation too

About

This code effectively demonstrates how to use Tokio's LocalSet to execute asynchronous tasks without blocking the main thread, which is key to integrating it with an external event loop


Languages

Language:Rust 100.0%