Re: [mediacapture-screen-share] Conditional Focus (When Display-Capture Starts) (#190)

So you're proposing accepting a callback and scheduling two microtasks back-to-back, one for resolving the Promise and one to run [after](https://github.com/w3c/mediacapture-screen-share/issues/190#issuecomment-932160209) the first. I think this is quite similar to the two-microtasks-back-to-back approach without a callback, while also making it less clear to Web-developers that the callback could "expire" if the first microtask is delayed for too long.

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/190#issuecomment-932186120 using your GitHub account


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

Received on Friday, 1 October 2021 12:28:20 UTC