- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Fri, 12 Apr 2024 08:52:15 +0000
- To: public-device-apis-log@w3.org
We could, in the future, send metadata with the resolved promise, but users can also do that easily themselves
```js
const options = { sampleInterval: 2_000 };
await Promise.all(PressureObserver.supportedSources.map(source => observer.observe(source, options).then(_ => source))
```
--
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/258#issuecomment-2051321748 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 12 April 2024 08:52:16 UTC