Producer b is only called once:
consta: producer=({ foo =update.value})=>{constint32=newInt32Array(2);int32[0]=42;foo.set(int32);setTimeout(()=>{int32[1]=43;foo.set(int32);});};constb: producer=({ foo =observe.value})=>{console.log("foo is",foo);};But first setting the value to null and then async setting it to the next array buffer value, the b producer is called twice as it should:
consta: producer=({ foo =update.value})=>{constint32=newInt32Array(2);int32[0]=42;foo.set(int32);setTimeout(()=>{int32[1]=43;foo.set(null);setTimeout(()=>{foo.set(int32);})});};This has to do with the comparison logic as I've tested with different values in the buffer/different buffers and it still doesn't retrigger on update.
Producer
bis only called once:But first setting the value to
nulland then async setting it to the next array buffer value, thebproducer is called twice as it should:This has to do with the comparison logic as I've tested with different values in the buffer/different buffers and it still doesn't retrigger on update.