summaryrefslogtreecommitdiff
path: root/tools/stringslint/stringslint.py
diff options
context:
space:
mode:
author Steve Elliott <steell@google.com> 2022-08-30 16:25:50 -0400
committer Steve Elliott <steell@google.com> 2022-09-02 11:02:38 -0400
commit60417deba0688d5904651a7401aaa3e95d603f4e (patch)
tree64a4bbc5f4f435a90168fbf15585e04a01fce621 /tools/stringslint/stringslint.py
parent7b21fb6b4a04e1a8051144e72bdfdc1e67a0b1f7 (diff)
Add optional emitFirstEvent param to setChanges()
There are situations where you really don't want to treat the first event as a change; for these cases, you can use setChanges(emitFirstEvent = false) Unfortunately, due to the usage of distinctUntilChanged() in the definition of setChanges(), there is no (obvious) way to recover this behavior on the client-side by dropping / filtering events, so we need to add this option to the method signature. Bug: 241121499 Test: atest SetChangesFlowTest Change-Id: I65ce50c12fb6299fa490887555e40db69f0eebdf
Diffstat (limited to 'tools/stringslint/stringslint.py')
0 files changed, 0 insertions, 0 deletions