Closed Antoniy2000 closed 9 months ago
I don't imagine you'd want the adapter to be calling out to an API for the methods you're implementing - this would be rather slow. Instead you should probably maintain a cache in your adapter which fills up the cache from the API in a separate task/thread so the adapter can quickly return items synchronously.
In any case, this is not something I'm planning on. I believe you should be implementing async methods on your own adapter implementation to load and cache things when and as appropriate so that the adapter methods return quickly.
I want to use async functions to receive data from api/db