Re: [compute-pressure] Move source to options (#262)

`sampleInterval` should be available for all sources and are a request, given the hardware might not be able to fulfill it.

I think it is a bit early to say if we get source specific options, but that could definitely happen.

I generally think that

```js
  observer.observe({ source: "gpu" })
```
is more clear than
```js
  observer.observe("gpu")
```

-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/262#issuecomment-2042474659 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 11:11:51 UTC