proposal-signals icon indicating copy to clipboard operation
proposal-signals copied to clipboard

Details omitted in `Watcher.getPending()`

Open prophile opened this issue 1 year ago • 0 comments

The specification for Signal.subtle.Watcher.prototype.getPending() specifies:

Return an Array containing the subset of signals which are in the state dirty or pending.

This should probably:

  1. Read ~dirty~ and ~pending~,
  2. Specify the actual order these will be returned explicitly,
  3. Say something about callers mutating the return value, even if it's that the behaviour is explicitly undefined.

prophile avatar Apr 29 '24 18:04 prophile