Closed mootari closed 1 year ago
Describe the bug
Given three cells:
viewof a = html`<input type=range>`
viewof b = html`<input type=range>`
{ for await(const v of Generators.input(viewof b)) yield [a, v]; }
performing the following steps:
a
b
will trigger the console error:
Uncaught (in promise) ƒ sn(){throw sn}
The number of errors depends on the number of times a did update before updating b.
The error gets thrown here:
Demo: https://observablehq.com/d/06d276b6c217a129
Thanks for the report. A fix is up at https://github.com/observablehq/runtime/pull/337.
Describe the bug
Given three cells:
performing the following steps:
a
one or more timesb
oncewill trigger the console error:
The number of errors depends on the number of times
a
did update before updatingb
.The error gets thrown here:![image](https://user-images.githubusercontent.com/322014/178148243-f65f3981-8791-43b4-b015-88dfeb5d19a9.png)