It sounds like you only want the restlet to give a...
# suitescript
j
It sounds like you only want the restlet to give a "success" response when the map/reduce is done processing