Skip to content

Commit

Permalink
Ch. 17: build a retry implementation
Browse files Browse the repository at this point in the history
This is good to know about, but has significant problems, mostly down to
the issues Niko covers in [this post][post] regarding the way ownership
and closures interact. See [this Stack Overflow answer][so], which
applies that dynamic specifically to a `retry` implementation which
happens to be more or less identical to what I built here!

[post]: https://smallcultfollowing.com/babysteps/blog/2023/05/09/giving-lending-and-async-closures/
[answer]: https://stackoverflow.com/questions/75533630/how-to-write-a-retry-function-in-rust-that-involves-async
  • Loading branch information
chriskrycho committed Jun 5, 2024
1 parent b577c3f commit d5ed8de
Show file tree
Hide file tree
Showing 4 changed files with 618 additions and 0 deletions.
Loading

0 comments on commit d5ed8de

Please sign in to comment.