-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(examples): Make
collection-provide
, hello-world-provide
and `…
…rpc` work again (#2749) ## Description They were broken, because - we changed `.share` to default to a node-id-only ticket and - `node.shutdown().await` doesn't wait for Ctrl+C anymore, instead it immediately shuts down the node. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> None ## Notes & open questions I basically restored the examples original behavior. It's an open question whether we want to simplify the examples by making the tickets node-id-only. Also: Testing. Not sure if we can/should. Ideas welcome! (To prevent this from happening again.) ## Change checklist - [x] Self-review. - ~~[ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant.~~ - ~~[ ] Tests if relevant.~~ - [x] All breaking changes documented. --------- Co-authored-by: Diva M <[email protected]>
- Loading branch information
1 parent
857e513
commit 25c8305
Showing
3 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters