Re: [mediacapture-main] Racy devicechange event design has poor interoperability (#972)

> ```js
>            // The list got updated already just before the event fired.
>            console.log(deviceList.devices);
>```
> ...
> The Permissions API is another API which follows this pattern.

That's a live state update model I wouldn't recommend for lists.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/972#issuecomment-1759908288 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 12 October 2023 15:58:14 UTC