https://netsuiteprofessionals.com logo
t

texmc

03/30/2022, 10:27 PM
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

Shawn Talbert

03/30/2022, 11:18 PM
I don't think server-side code is async. promises there run synchronously as far as I know.
☝️ 1
b

battk

03/31/2022, 2:08 AM
each individual script will wait for all processing to complete before continuing