SM
Size: a a a
SM
DO
SM
M
VV
П
_disposeSaveReaction = reaction<List<TodoEntity>>(
(_) => todos.map(todosCodec.encode).toList(growable: false),
(todos) => repository.saveTodos(todos),
delay: saveDelay,
);
SM
SM
SM
// Save operations are debounced by a configurable delay to prevent writing
// to the repository more often than necessary. In production, save
// operations are debounced by 500ms. In tests, they are not debounced to
// speed up test execution.
SM
П
ОК
DP
SM
M
C
Д
АК
АК
ОК