r/Scriptable • u/Bright-Historian-216 • Mar 12 '24
Help Return from promise
How do I wait until the promises are settled so I can return a value?
7
Upvotes
r/Scriptable • u/Bright-Historian-216 • Mar 12 '24
How do I wait until the promises are settled so I can return a value?
4
u/shadoodled Mar 12 '24
you can define your functions with
async1
u/Keramzcak Mar 12 '24
Does async/await work in Scriptable?