Azure / azure-functions-signalrservice-extension

Azure Functions bindings for SignalR Service. Project moved to https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService .
MIT License
97 stars 47 forks source link

Unclear how to invoke the Grouping actions #206

Open mcgear opened 3 years ago

mcgear commented 3 years ago

Previously, in my azure functions with SignalR i would use an input binding with IAsyncCollector and the SignalRGroupAction. In working a switch to net5 with isolated process, i noticed this in the comparison of net 3.1 (left) and net 5 (right): image

In the isolated process, how would we group users now?

Y-Sindo commented 3 years ago

Just return the SignalRGroupAction in the method. Please refer to this sample: https://github.com/Azure/azure-functions-dotnet-worker/blob/main/samples/Extensions/SignalR/SignalRFunction.cs