I've created a javascript function with a SignalR output binding, following this - https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-signalr-service-output?tabs=in-process&pivots=programming-language-javascript
the function runs ok but my client does not receive the message and the Message Count in the SignalR services' overview page remains 0;
What am I missing and how can I troubleshoot further?
function code -
module.exports = async function (context, req) {
console.log(req.body);
context.bindings.signalRMessages = [{
"target": "newMessage",
"arguments": [ req.body ]
}];
console.log(context.bindings.signalRMessages);
console.log("function ended");
};