[sockets.connection.leave-group]

sockets.connection.leave-group is a slot in the sockets namespace, in Hyperlambda, the language of Magic Cloud. Removes the current connection from a socket group.

Arguments

Required arguments come first, then the optional ones in the order they are declared.

Argument Type Required Description
[group] string yes Socket group name.

JSON declaration

This is the complete declaration of sockets.connection.leave-group, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "sockets.connection.leave-group",
  "description": "Removes the current connection from a socket group",
  "signature": {
    "children": {
      "group": {
        "type": "string",
        "kind": "socket-group",
        "description": "Socket group name",
        "required": true,
        "mode": "ValueOrExpression",
        "cardinality": "ExactlyOne",
        "role": "Option",
        "projection": "Value"
      }
    }
  }
}

← sockets.connection.enter-group all sockets.* slots sockets.signal →