Following some discussion with @spxiwh, I wanted to add an option to disable the generator caching. For now, I've taken the simple approach of having two functions but I'm open to suggestions for how to best do this.
I've also added a test to ensure the cache is still called correctly.
Following some discussion with @spxiwh, I wanted to add an option to disable the generator caching. For now, I've taken the simple approach of having two functions but I'm open to suggestions for how to best do this.
I've also added a test to ensure the cache is still called correctly.