fix: clear cache timeouts (#495)
* fix: clear cache timeouts calling queryCache.clear() was empting the queries object but not tearing any of them down this commit adds a clear method to the individual queries, which cancels timeouts and promises queryCache.clear now loops through the queries and clears each one I've also update the return type of queryCache.clear as it doesn't actually return anything * fixup! fix: clear cache timeouts Co-authored-by: Jack Ellis <jack.ellis@godaddy.com>
J
Jack committed
f76c8601a3c30ab279082a94ec1b51ed4920b52c
Parent: c5b49be
Committed by GitHub <noreply@github.com>
on 5/17/2020, 12:48:55 AM