Can we use promises in server-side SuiteScript 2.1...
# suitescript
b
Can we use promises in server-side SuiteScript 2.1? I tried, but it appears as if the script finishes before the promise returns.
c
Did you
await
the response?
b
Yes, but I just tested again,a and it's working for me. I don't know what was happening before. Sorry