-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hello,
As noted, the Django base cache backend has a number of methods for sync and async functions. Not all implemented in this project. I'm curious if you have plans on where to take this project with async and sync support.
Sometimes 🙃 these base functions and their sync_to_async a-prefix functions work as intended. A backend can implement the sync version and the async may actually work, at a performance cost. This doesn't always work in the real world, but when it does it means a developer could theoretically slowly implement async. A holy grail of converting projects from sync to async.
I'm curious if you are open to or have thoughts on supporting an async client with sync fallback. I imagine the async client would just get sync versions, which call async_to_sync.