groostav10/10/2019, 8:26 AM
and I want to have a behaviour whereby: 1. we use
Flow<Change<oldValue: String, newValue: String>>
for 200 ms, such that as fast edits are made to this text, no changes are published 2. when there is a 200ms pause, it publishes a
with the old value from before any changes were made, and the new value after all changes 3. this can be short-circuited by "focus lost", if focus changes from true to false the 200ms wait is interrupted, a change is published right away, and any pending changes are cancelled. Anybody done something like this? Care to share? If not, care to speculate with me?
Dominaezzz10/10/2019, 8:56 AM
groostav10/10/2019, 9:12 AM