Static function
Fast
Server.Unsubscribe
Unsubscribes from all subscribed Events in this Class and in this Package, optionally passing the function to unsubscribe only that callback
Syntax
Server.Unsubscribe(event_name, function = nil)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
event_name
|
string | — | The name of the Events |
function
optional
|
function | nil |
Callback function |