- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Thu, 11 Apr 2024 12:09:24 +0000
- To: public-device-apis-log@w3.org
We don't need to check for data before observing. I guess people could just do ```js await Promise.all(PressureObserver.supportedSources.map(source => observer.observe(source, { sampleInterval: 2_000 }))) ``` -- GitHub Notification of comment by kenchris Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/258#issuecomment-2049554608 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 11 April 2024 12:09:25 UTC