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
Thanks for the framework, love and keep up the good work.
I have a question though about how to add SignalR input binding to a function, for example if I create a standard function I can add [SignalR(HubName = "assessments")] IAsyncCollector<SignalRMessage> signalRMessages in the function which then allows me to send events using WebSockets
I cannot seem to find a way to do this with FunctionMonkey, if I add this to the ExecuteAsync method I get a compile error
The text was updated successfully, but these errors were encountered:
At the moment SignalR bindings aren't supported in FunctionMonkey - however you can happily drop a "normal" SignalR function into the same codebase. If you want to structure one like the Function Monkey trigger functions (and use the commanding pattern) then their is a method OutputAuthoredSource on the builder that will spit out the generated C# code to a path and you can use that to base a new Function on quite straightforwardly.
I will look to add SignalR bindings in the future!
Thanks for the framework, love and keep up the good work.
I have a question though about how to add SignalR input binding to a function, for example if I create a standard function I can add
[SignalR(HubName = "assessments")] IAsyncCollector<SignalRMessage> signalRMessages
in the function which then allows me to send events using WebSocketsI cannot seem to find a way to do this with FunctionMonkey, if I add this to the
ExecuteAsync
method I get a compile errorThe text was updated successfully, but these errors were encountered: