Path: blob/main/files/en-us/web/api/audiodecoder/decodequeuesize/index.md
6517 views
------{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
The decodeQueueSize read-only property of the {{domxref("AudioDecoder")}} interface returns the number of pending decode requests in the queue.
Value
An integer containing the number of requests.
Examples
The following example prints the size of the queue to the console.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}