Funzione statica
Veloce
Server.Subscribe
Subscribes for an Event
Non ancora tradotto
Sintassi
Server.Subscribe(event_name, function)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
event_name
|
string | — | The name of the Event |
function
|
function | — | Callback function |
Valore restituito
- function the function callback itself