[timingobject] Replace usage of `Object.observe()` (#32)

chrisguttandin has just created a new issue for https://github.com/webtiming/timingobject:

== Replace usage of `Object.observe()` ==
Since `Object.observe()` has turned out to be a dead end I think the spec needs to be updated to use something else.

It's currently used by the `TimingObject` to observe the `vector` property of a `TimingProvider`. I would like to suggest to use an event on the `TimingProvider` instead to communicate vector updates. We could use the same `change` event that's already available on a `TimingObject` and add it to the `TimingProvider` interface, too. A `TimingObject` could then listen for this event instead of observing the vector property.

Please view or discuss this issue at https://github.com/webtiming/timingobject/issues/32 using your GitHub account


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

Received on Thursday, 9 March 2023 12:18:59 UTC