Content pfp
Content
@
0 reply
0 recast
0 reaction

Apex777 pfp
Apex777
@apex777.eth
I have a lonnggggg API call I’d love to make in a frame. But it’s like 10-20 seconds. Any solutions as I know after 5 seconds a frame timeout? Maybe initial call and then a second button to retrieve the answer stored locally? I have 2500 DEGEN for helpful answers. Thank you!
5 replies
1 recast
3 reactions

Apex777 pfp
Apex777
@apex777.eth
If you have a GitHub of something similar I have 5k for you to tip.
0 reply
0 recast
1 reaction

DegenFans 🎩🔵🫂Ⓜ️ pfp
DegenFans 🎩🔵🫂Ⓜ️
@degenfans
I start an async executor and wait up to 2s, if it was successful I print directly the result, if it takes longer I show a refresh button+page (my is taking between 100ms-18s)
1 reply
0 recast
0 reaction

Myk.eth pfp
Myk.eth
@myk
Here is a how-to with an example of a slow frame request! https://github.com/framesjs/frames.js/tree/main/templates/next-starter-with-examples/app/examples/new-api-slow-request
2 replies
0 recast
3 reactions

sekmet.base.eth 🔵🎩 pfp
sekmet.base.eth 🔵🎩
@sekmet
Yes, there's a solution. 1 - make 1st call in background and store the result and status temporary into a KV storage. 2 - create 3 frame pages - success, check status and error/retry pages 3 - Since the success result is found stored in the KV storage, it will be displayed to the user.
1 reply
0 recast
1 reaction

CRYPTOforCHANGE ↑ pfp
CRYPTOforCHANGE ↑
@cryptoforchange
I have seen some frames where once you click the first action the next page asks you to wait like and then "refresh" maybe something like that but include a timer on the 2nd XD Idk this is my best guess... maybe have a cool loading screen
0 reply
0 recast
0 reaction