.shareValue()
doesn't exist anymore
.seeded()
factory constructor to the codemod
ValueStream
:-/
newStream = old.map(mapping).shareValue(mapping);
old.add('foo');
newStream.value == 'foo'; // That's not the case
.value
properly
EmailChanged
and PasswordChanged
events)
final debounced = events
.where((event) => event is! FormSubmitted)
.debounceTime(const Duration(milliseconds: 300));
FormSubmitted
event like this:
return events
.where((event) => event is FormSubmitted)
.mergeWith([debounced])
EmailChanged
and PasswordChanged
events could be triggered, being debounced, and then the FormSubmitted
event could arrive, and be handled before the change events are being handled