1
Fork 0

added readme

This commit is contained in:
Andy Killorin 2024-12-19 12:42:37 -05:00
parent 0acce0cd46
commit f44ab92299
Signed by: ank
GPG key ID: 23F9463ECB67FE8C

9
readme.md Normal file
View file

@ -0,0 +1,9 @@
# 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
```rust
Pin<Box<dyn Future<Output = u64> + Send >>
```
which can be sent directly to tokio