Continued work on JSDoc for src/app
This commit is contained in:
parent
fd760e4dab
commit
ad057916d8
4 changed files with 96 additions and 8 deletions
|
|
@ -23,7 +23,7 @@ class chatBuffer{
|
|||
/**
|
||||
* Instantiates a new chat buffer for a given channel
|
||||
* @param {channelManager} server - Parent Server Object
|
||||
* @param {Document} chanDB - chanDB to rehydrate buffer from
|
||||
* @param {Mongoose.Document} chanDB - chanDB to rehydrate buffer from
|
||||
* @param {activeChannel} channel - Parent Channel Object
|
||||
*/
|
||||
constructor(server, chanDB, channel){
|
||||
|
|
@ -98,7 +98,7 @@ class chatBuffer{
|
|||
/**
|
||||
* Saves RAM-Based buffer to Channel Document in DB
|
||||
* @param {String} reason - Reason for DB save, formatted as 'x minutes/seconds of in/activity', used for logging purposes
|
||||
* @param {Document} chanDB - Channel Doc to work with, can be left empty for method to auto-find through channel name.
|
||||
* @param {Mongoose.Document} chanDB - Channel Doc to work with, can be left empty for method to auto-find through channel name.
|
||||
*/
|
||||
async saveDB(reason, chanDB){
|
||||
//clear existing timers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue