Skip to content

Update PersistentConfiguration to use listeners for suppliers#141

Open
kcooney wants to merge 2 commits into
mainfrom
kcooney/persisted-configuration-use-listener
Open

Update PersistentConfiguration to use listeners for suppliers#141
kcooney wants to merge 2 commits into
mainfrom
kcooney/persisted-configuration-use-listener

Conversation

@kcooney
Copy link
Copy Markdown
Contributor

@kcooney kcooney commented Feb 14, 2026

With this change, getting preference values via a supplier does not hit network
table APIs (instead, it is just a read on an atomic object).

@kcooney kcooney force-pushed the kcooney/persisted-configuration-use-listener branch from a8de309 to d0a46e9 Compare February 14, 2026 17:39
kcooney and others added 2 commits February 14, 2026 09:41
I noticed the WPILib Preferences test uses this annotation, so trying
it out to see if it reduces the crashes in the test runs.
@kcooney kcooney force-pushed the kcooney/persisted-configuration-use-listener branch from d0a46e9 to dc8145f Compare February 14, 2026 17:42
@kcooney kcooney marked this pull request as ready for review May 10, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant