()
| 37 | } |
| 38 | |
| 39 | private ensureSlots(): void { |
| 40 | while (this.slots.length < this.size) { |
| 41 | this.slots.push(this.createSlot()); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | run(payload: unknown, transferables?: Transferable[]): Promise<T> { |
| 46 | return new Promise<T>((resolve, reject) => { |
no test coverage detected