1
Fork 0
async-hot-reload-example/readme.md
2024-12-19 12:42:37 -05:00

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