Start a new topic

Should return be used with response.xxxx() or not?


As per the guide

the response.complete/error/continue should be used with a return statement but almost all sample code in the same guide doesnt use return anywhere. So the question is what are the side effects of using return and not using return. What will happen if the return is not used? We have had issues with our collection hooks/endpoints behaving erratically and I am wondering if not using return can be a cause.



1 Comment


I think that's actually outdated.  Please continue just using response.complete / response.continue as you have been.


Login or Signup to post a comment