@BenjaminGruenbaum return callHelperfunction()
.then(function (data) {
//do something with data
//send 200 Ok to user
})
.then(function (data2) {
//wait for response from startthisfunction here
})
Once promiseA is done, data1 should receive the data. Once promise2 is done, data2 should receive