- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Apr 2024 09:09:55 +0000
- To: public-device-apis-log@w3.org
kenchris has just created a new issue for https://github.com/w3c/compute-pressure: == Move source to options == Following up on @Elchi3 's #256 where the following was suggested ```js await observer.observe({ sources: ["cpu"], sampleInterval: 2500 }); ``` This is pretty consistent with PerformanceObserver, the "type" is also part of the options. We could do ```js await observer.observe({ source: "cpu", sampleInterval: 2500 }); ``` now (pre shipping), and add `sources` in the future. Or does @elchi3 believe we should just support `sources` and not `source`? Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/262 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 8 April 2024 09:09:56 UTC