chore: added doc on new classes
This commit is contained in:
parent
203e35b3e4
commit
00f7b10ac9
@ -1,5 +1,8 @@
|
|||||||
const config = require("./config/config");
|
const config = require("./config/config");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class to hold information related to a whiteboard
|
||||||
|
*/
|
||||||
class WhiteboardServerSideInfo {
|
class WhiteboardServerSideInfo {
|
||||||
static defaultScreenResolution = { w: 1000, h: 1000 };
|
static defaultScreenResolution = { w: 1000, h: 1000 };
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
import { getThrottling } from "./ConfigService.utils";
|
import { getThrottling } from "./ConfigService.utils";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class to hold the configuration sent by the backend
|
||||||
|
*/
|
||||||
class ConfigService {
|
class ConfigService {
|
||||||
/**
|
/**
|
||||||
* @type {object}
|
* @type {object}
|
||||||
|
@ -2,6 +2,9 @@ import Point from "../classes/Point";
|
|||||||
import { getCurrentTimeMs } from "../utils";
|
import { getCurrentTimeMs } from "../utils";
|
||||||
import ConfigService from "./ConfigService";
|
import ConfigService from "./ConfigService";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class to handle all the throttling logic
|
||||||
|
*/
|
||||||
class ThrottlingService {
|
class ThrottlingService {
|
||||||
/**
|
/**
|
||||||
* @type {number}
|
* @type {number}
|
||||||
|
Loading…
Reference in New Issue
Block a user