Skip to content

Commit

Permalink
docs: add JSDoc to StateHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
OsirisAnubiz committed Oct 10, 2024
1 parent 43be19b commit 214eab0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/nestjs-batch-queue/src/proxy-clases/state-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import type { ChangeStateCallback } from '../check-manager/index.js'
export class StateHandler {
constructor(private checkManager: CheckManager) {}

/**
* Delegates to {@link CheckManager.handleChangeState}
*/
public handleChangeState(checkName: CheckName, callback: ChangeStateCallback): void {
this.checkManager.handleChangeState(checkName, callback)
}
Expand Down

0 comments on commit 214eab0

Please sign in to comment.