WebCodecs APIwindow_and_dedicated
The ready property of the ImageTrackList interface returns a Promise that resolves when the ImageTrackList is populated with ImageTrack.
Value
A Promise that resolves with undefined.
Examples
The following example prints the value of ready to the console, this will be undefined once the promise resolves.
let tracks = imageDecoder.tracks;
let ready = await tracks.ready;
console.log(ready);
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
