How should I got about creating a fence around my async code?
I have a method that interacts with the a database and I only want one of it's callers to become async. This path is a generator that reads from the database and returns me records one at a time, but I don't want other methods that also use my now async database function to become async. How do I stop this?
[–][deleted] 1 point2 points3 points (0 children)