added readme
This commit is contained in:
parent
0acce0cd46
commit
f44ab92299
1 changed files with 9 additions and 0 deletions
9
readme.md
Normal file
9
readme.md
Normal 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
|
Loading…
Reference in a new issue