I've been struggling to find any kind of information related to the issue I'm experiencing with Azure Functions (Node.js).
I'm attempting to keep a HTTP request/connection alive and start a text/stream on initial request and the write chunks to this stream without terminating the connection.
Whilst I could do this with a standard express + Node.js process/server with response.write(...).
I can't seem to find the equivalent in Azure's context.res object neither can I prevent Azure Functions from invoking context.res.done() instead just writing chunks to the active stream.
I'm trying to build a solution that allows me to perform long polling...
I'd very much appreciate any advice or information.
Thank you very much.
Update:
To anyone who stumbled upon this question. It's not possible to do anything but a whole http request/response. Hopefully streaming data directly from an Azure function is supported in the future.