Join Slack
Powered by
is using promises lightens the loads to the reques...
# suitescript
s
suiteExperimenter
04/20/2022, 4:21 AM
is using promises lightens the loads to the requests to server compare to without using promises?
b
battk
04/20/2022, 4:28 AM
not really, promises are designed for asynchronous logic
battk
04/20/2022, 4:29 AM
usually that translates to less waiting
battk
04/20/2022, 4:29 AM
for example, instead of waiting for a http request to complete you do something else instead
battk
04/20/2022, 4:29 AM
load is still the same, you just do it at a different time
s
suiteExperimenter
04/20/2022, 5:09 AM
thanks
@battk
3
Views
Open in Slack
Previous
Next