Bindable icon indicating copy to clipboard operation
Bindable copied to clipboard

Modify VariableSource from subscription

Open tomlokhorst opened this issue 7 years ago • 1 comments

Figure out what to do when a source is modified from within a callback, when there's still more callbacks to process.

tomlokhorst avatar Jun 01 '18 11:06 tomlokhorst

A first version to prevent this from creating time consuming bugs could be:

  • When we start to call the handlers set a flag, unset the flag when all handlers are called
  • If the value is modified while the flag is set, fatalError

I think a fatalError is appropriate since it currently gives unpredictable behaviour and therefore is unsupported by this library.

mac-cain13 avatar Jun 08 '18 22:06 mac-cain13