mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-07 00:13:53 +00:00
docs: comment osc functions
This commit is contained in:
@@ -88,10 +88,18 @@ export class EventTimer extends Timer {
|
||||
this.updateOSCClient(oscClient);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Updates the osc client used in the object
|
||||
* @param {object} oscClient
|
||||
*/
|
||||
updateOSCClient(oscClient) {
|
||||
this.oscClient = oscClient;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Sends osc value from predefined messages
|
||||
* @param {string} event - message to be sent
|
||||
*/
|
||||
sendOSC(event) {
|
||||
if (this.oscClient == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user