Skip to content

Commit

Permalink
Remove unused capacity property
Browse files Browse the repository at this point in the history
  • Loading branch information
JaoodxD committed May 14, 2024
1 parent 5c575eb commit aefcc95
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/fixed-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ class FixedCircularBuffer {
this.top = (this.top - 1) & kMask;
this._size--;
}

get capacity () {
return this.list.length;
}
}

export default class FixedQueue implements TaskQueue {
Expand Down

0 comments on commit aefcc95

Please sign in to comment.