Skip to content

Commit

Permalink
docs: update jsdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
venki91 committed Jul 13, 2024
1 parent 109b117 commit cb734bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ class ErrsoleSQLite extends EventEmitter {
}

/**
* Adds log entries to the pending logs.
* Adds log entries to the pending logs and flushes them if the batch size is reached.
*
* @param {Log[]} logEntries - An array of log entries to be added to the pending logs.
* @returns {{}} - A Promise that resolves with an empty object.
* @returns {Object} - An empty object.
*/
postLogs (logEntries) {
this.pendingLogs.push(...logEntries);
Expand Down

0 comments on commit cb734bf

Please sign in to comment.