chore: added doc on new classes

This commit is contained in:
Florent Chehab 2020-05-11 17:54:41 +02:00
parent 203e35b3e4
commit 00f7b10ac9
No known key found for this signature in database
GPG Key ID: 9A0CE018889EA246
3 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,8 @@
const config = require("./config/config");
/**
* Class to hold information related to a whiteboard
*/
class WhiteboardServerSideInfo {
static defaultScreenResolution = { w: 1000, h: 1000 };

View File

@ -1,5 +1,8 @@
import { getThrottling } from "./ConfigService.utils";
/**
* Class to hold the configuration sent by the backend
*/
class ConfigService {
/**
* @type {object}

View File

@ -2,6 +2,9 @@ import Point from "../classes/Point";
import { getCurrentTimeMs } from "../utils";
import ConfigService from "./ConfigService";
/**
* Class to handle all the throttling logic
*/
class ThrottlingService {
/**
* @type {number}