Skip to content

Commit

Permalink
Merge pull request #70 from Akvize/readme-usage
Browse files Browse the repository at this point in the history
Update README.md with new Service syntax
  • Loading branch information
adriendellagaspera committed Nov 16, 2023
2 parents 2ba30d5 + 77e0d25 commit e34b642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ In code, this would look like this:
```rust
let tree = HRTree::new();
let mut service = Service::new(tree, port, listen_addr, peer_net).await;
tokio::spawn(service.run(|_, _, _| {}));
tokio::spawn(service.clone().run());
// use the reconciliation service as a key-value store in the API
```

Expand Down

0 comments on commit e34b642

Please sign in to comment.