Deleted AccountD
Convex Community10mo ago
29 replies
Deleted Account

Caching with Convex

Hi, I am using the action-cache in my app, however there's a problem with cache.fetch.

Suppose I have an action summarizePaperInternal that returns a string, and I want to cache it, so I follow the docs at https://github.com/get-convex/action-cache, and create an ActionCache. I would assume that after defining the action, the return of the ActionCache will be same as my action. However that doesn't appear to be the case and ActionCache.fetch returns
any
.
image.png
image.png
image.png
Was this page helpful?