Hey folks, really quick question. I'm using a map...
# suitescript
m
Hey folks, really quick question. I'm using a mapReduce script and am dealing with an API that has a strict rate limit. Do any of you know a way to delay in Server Side Scripts (of a few seconds)? I'm guessing the only way to do it is calling an endpoint that takes a while to respond, but I'm curious of other folks have better methods.
e
what about adding a for loop with a large number? I think I have seen that done before.
e
@Michael Pope you're right. I also think calling an endpoint is the best way.
m
I've used postman-echo.com/delay/5 before