Warning
This post was published 35 days ago. The information described in this article may have changed.
So that I can unit test an async call that's expensive, how can I pass the function so that my unit tests can mock it?
Here's what I have nearly working, except the argument reference causes lifetime issues I am beyond confused with:
2 posts - 2 participants
🏷️ rust_feed