-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
There will be only Middleware and AfterWare - after controller. We cannot do anything after response is sent because in AWS Lambda there will not be a 'sending' of response, we just return a Promise and that is all.
If developer needs to do something after response is written to Node.js response object they can create own ResponseWriter component that listens for Response .onEnd method and does something from onEnd
Another possibility is to create component @OnResponseEnd and wire that component to run from Response onEnd from our own ResponseWriter. It must be understood that this component will be ignored when run as Lambda because ResponseWriter will not be used from Lambda.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels