Skip to content

Commit

Permalink
Correct typos in api.md (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yilun-Sun authored Aug 24, 2024
1 parent 6fb978e commit 22d53f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,12 @@ scheduler.addWorker(worker);
<a name="scheduler-get-queue-len"></a>
### scheduler.getQueueLen(): number

`scheduler.getNumWorkers()` returns the length of job queue.
`scheduler.getQueueLen()` returns the length of job queue.

<a name="scheduler-get-num-workers"></a>
### Scheduler.getNumWorkers(): number

Scheduler.getNumWorkers() returns number of workers added into the scheduler
`Scheduler.getNumWorkers()` returns number of workers added into the scheduler

<a name="scheduler-terminate"></a>
### scheduler.terminate(): Promise
Expand Down

0 comments on commit 22d53f1

Please sign in to comment.