You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would I execute something after Locomotive sends a response? In one of my controller#methods I've done
this.res.on("finish",function(){console.log(" -- Reponse sent! ");// Never happens.});
but I never see the message logged to the console. Is there some way to do this in Locomotive?
I'm trying to keep track of some data across a few requests, then delete the data after a certain request is made, and the response to that request relies on the data, so I'm trying to clean up the data after the response to the final request is sent.
The text was updated successfully, but these errors were encountered:
How would I execute something after Locomotive sends a response? In one of my controller#methods I've done
but I never see the message logged to the console. Is there some way to do this in Locomotive?
I'm trying to keep track of some data across a few requests, then delete the data after a certain request is made, and the response to that request relies on the data, so I'm trying to clean up the data after the response to the final request is sent.
The text was updated successfully, but these errors were encountered: