alexa-app
alexa-app copied to clipboard
Add state to callback functions
I am using this package to write node-red bindings for alexa.
The issue is that the way that node-red processes messages, it can not respond to an http request until the end of a chain of nodes, and then it uses the express response object to respond.
These nodes do not know about one another, they only pass a message (javascript object) down the chain, and the express response object needs to be passed down that chain.
HTTP In ---> Do Some Processing --> Add Alexa Say Command --> HTTP Out
The way the library was currently written, I couldn't find a way to pass along the express response object.
So for now I'm including it it my package with the changes, but I'd rather include alexa-app as a dependency
The usage within my project can be found here
Coverage remained the same at 81.019% when pulling daa96648bf93dc5d814a7b99b6b0ae7adb0ac91b on mattotodd:master into 72cd1f7fed23ee019fd38b79826401a599c310ba on matt-kruse:master.
a love here?
Sorry for the delay, we're back on track here. I think this is valuable. It would need tests and CHANGELOG to get this in. Care to do it @mattotodd?
+1