Hi, I am trying to transit to next card but i want to await for the previous card to complete as i am calling an API there, so currently it is not waiting. Can anybody help me on this?
g
gray-leather-80995
07/19/2023, 10:29 AM
i dont speak code haha but i tried to use a execude code and type //timeout for 5000 ms //
and i get this, and it works
const timeout = 5000
await new Promise(resolve => setTimeout(resolve, timeout))
no idea if its the way to do it, but you can use it for so long
a
acceptable-kangaroo-64719
07/19/2023, 10:58 AM
Hey @miniature-daybreak-51854 , async transitions are on the roadmap and will be deployed in the coming weeks. However there's nothing in the product that can do async right now, sorry.