Content pfp
Content
@
0 reply
0 recast
0 reaction

Roshan PJ pfp
Roshan PJ
@rpj
How do you all handle actions that take longer than 5 seconds on frames?
2 replies
0 recast
0 reaction

Roshan PJ pfp
Roshan PJ
@rpj
I got this on the docs but, even after hitting the refresh button, how can we be sure that that the response loads within the 5 seconds.
0 reply
0 recast
0 reaction

Roshan PJ pfp
Roshan PJ
@rpj
Answer: You can’t. Either you save data in-memory if using a backend, or in dbs like redis if using a serverless function. Ask users to press the refresh button and return the response from your previous computation.
0 reply
0 recast
0 reaction