Update JSDoc for better clarity

Co-authored-by: Nelson Chan <chakflying@hotmail.com>
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
pull/1499/head
Matthew Nickson 3 years ago
parent 09e61d9d63
commit 1eecdec2d9
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05

@ -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) {

@ -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

Loading…
Cancel
Save