Is there any way to do parallelism in suitescript?
# suitescript
m
Is there any way to do parallelism in suitescript?
b
be more specific
m
I want to have like ten functions that are working in the same time. I want to make too many HTTP requests, and I want to divide that between them.
b
closest is the suitescript processor queue
which allows multiple processors to run at the same time
m
Is that different from the task queue?
b
task too generic
csv imports fall under task, as do entity deduplelication
different queues
scheduled scripts and map/reduce scripts share the same script processor queue
m
hmm, got it
thanks
b
i would advise learning how map/reduce scripts work so you understand how you would need to structure your scripts
different script processors dont share the same script context
m
will search it in the docs ❤️
s
I think you also have async support now via promises if that's adequate?