for heavier processing I started using https.post....
# suitescript
t
for heavier processing I started using https.post.promise server side. What's strange is one of my scripts seems to still have a lag on aftersubmit with this method. Just want to confirm that it is truly async or does it wait for a response
s
I don't think server-side code is async. promises there run synchronously as far as I know.
☝️ 1
b
each individual script will wait for all processing to complete before continuing