Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Mar 16, 2024
1 parent bd4ac9b commit 12baac4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nocap/src/classes/Base.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ export default class Base {
* If a hard failure has been previously invoked, will also terminate
*
* @public
* @param {string} key - The name of the check that invoked the closure
*/
close(key=""){
this.logger.debug(`${key}: close()`)
Expand All @@ -524,6 +525,7 @@ export default class Base {
* Invokes websocket adapter's terminate method if it exists, otherwise tries to terminate the websocket connection via adapter provided ws instance
*
* @public
* @param {string} key - The name of the check that invoked the termination
*/
terminate(key=""){
this.logger.debug(`${key}: terminate()`)
Expand Down

0 comments on commit 12baac4

Please sign in to comment.