As we already introduced async candidateFunction in cache-candidate 1.5.1, what about bringing the same functionality for the invalidation?
We can already leverage the async mechanism of the hooks for it, so just checking if the result is a Promise and, if so, await for it could be enough.
Surely we'll have to bring in a couple more tests, but it would work.
@PellegrinoDurante as you are the "maintainer" of this plugin, what do you think? Wanna go together with it?
As we already introduced async candidateFunction in cache-candidate 1.5.1, what about bringing the same functionality for the invalidation?
We can already leverage the async mechanism of the hooks for it, so just checking if the result is a Promise and, if so, await for it could be enough.
Surely we'll have to bring in a couple more tests, but it would work.
@PellegrinoDurante as you are the "maintainer" of this plugin, what do you think? Wanna go together with it?