Update JSDoc for better clarity

Co-authored-by: Nelson Chan <chakflying@hotmail.com>
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Matthew Nickson 2022-04-22 18:42:47 +01:00
parent 09e61d9d63
commit 1eecdec2d9
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05
2 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,9 @@ const Database = require("../database");
const path = require("path");
/**
* Send message to parent process
* Send message to parent process for logging
* since worker_thread does not have access to stdout, this is used
* instead of console.log()
* @param {any} any The message to log
*/
const log = function (any) {

View File

@ -145,7 +145,7 @@ class Monitor extends BeanModel {
}
/**
* Get status codes that are acceptable
* Get accepted status codes
* @returns {Object}
*/
getAcceptedStatuscodes() {
@ -658,7 +658,7 @@ class Monitor extends BeanModel {
}
/**
* Send certificate information to information
* Send certificate information to client
* @param {Server} io Socket server instance
* @param {number} monitorID ID of monitor to send
* @param {number} userID ID of user to send to