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

I looked at https://w3c.github.io/webdriver-bidi/ and it seems that we can probably use that for testing this. @rakuco 

I am not sure that I really understand how it works, but something like

```js
pressureObserver.ObserveStarted= (
 method: "pressureObserver.observeStarted",
)

pressureObserver.ObserveError= (
 method: "pressureObserver.observeError",
 params: pressureObserver.ObserveErrorParameters,
)

pressureObserver.ObserveErrorParameters = {
  errorText: text,
}

```

-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/258#issuecomment-2047029861 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 April 2024 09:34:38 UTC