Static function
Fast
Server.Subscribe
Subscribes for an Event
Syntax
Server.Subscribe(event_name, function)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
event_name
|
string | — | The name of the Event |
function
|
function | — | Callback function |
Returns
- function the function callback itself