Re: [compute-pressure] Get rid of the promise returned by observe (#258)

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