Azure Web PubSub · Arazzo Workflow
Azure Web PubSub Join Group, Send, then Leave
Version 1.0.0
Add a connection to a group, broadcast a message to that group, then remove the connection.
Provider
Workflows
join-group-send-leave
Add a connection to a group, send a message to the group, then remove the connection.
Adds a connection to a group via addConnectionToGroup, broadcasts to the group via sendToGroup, then removes the connection via removeConnectionFromGroup.
1
addConnection
webPubSub_addConnectionToGroup
Add the connection to the named group so it begins receiving group messages.
2
sendToGroup
webPubSub_sendToGroup
Broadcast the supplied plain-text message to every connection in the group.
3
removeConnection
webPubSub_removeConnectionFromGroup
Remove the connection from the group so it stops receiving future group messages.