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

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