Closed farmaazon closed 3 years ago
When you create toggle_true FRP node, and read it value before it'll be toggled, the returned value will be false.
That happens because value() reads NodeData::value_cache and that cache is initialised with default and updated only when event is emitted from node.
NodeData::value_cache
Spotted on master (commit 026a2585aec59d606933f00e3ce591b1696f928c)
Fixed on master
General Summary
When you create toggle_true FRP node, and read it value before it'll be toggled, the returned value will be false.
That happens because value() reads
NodeData::value_cache
and that cache is initialised with default and updated only when event is emitted from node.Enso Version
Spotted on master (commit 026a2585aec59d606933f00e3ce591b1696f928c)