Category "rust-tokio"

How to reuse Tokio runtime in Rust FFI library

I want to write a FFI wrapper for sn_api library, which contains async functions. It will be used in single-threaded non-async code written in Red. I found, tha

Programmatically create and listen for multiple signals and a ticking interval with tokio

I'm trying to programmatically listen to multiple signals and a ticking interval. To clear things up, here is the code I have currently: use std::time::Duration