243 B
243 B
async hot reloading
minimal example of loading an async function from a .so
and spawning it on the tokio executor.
the loaded library returns a
Pin<Box<dyn Future<Output = u64> + Send >>
which can be sent directly to tokio