-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(iroh): Replace
timer
module with AbortOnDropHandle
and s…
…leep (#3141) ## Description I find this easier to reason about. Better this than having to understand an additional concept (the golang timer). ## Notes & open questions This is opinionated. I'm not married to this, so feel free to critique. This also makes it such that when the MagicSocket is dropped (/the NodeMap is dropped), it'll abort all these tasks. ## Change checklist - [x] Self-review.
- Loading branch information
Showing
3 changed files
with
7 additions
and
110 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 was deleted.
Oops, something went wrong.