* Checks whether this async queue is processing. * @param {T} item an item * @returns {boolean} true, if the item is currently being processed
(item)
| 295 | * @returns {boolean} true, if the item is currently being processed |
| 296 | */ |
| 297 | isProcessing(item) { |
| 298 | const key = this._getKey(item); |
| 299 | const entry = this._entries.get(key); |
| 300 | return entry !== undefined && entry.state === PROCESSING_STATE; |
| 301 | } |
| 302 | |
| 303 | /** |
| 304 | * Checks whether this async queue is queued. |
no test coverage detected