Skip to content

Are NetworkTables listeners to different uncached topics guaranteed to be called in the order the topic's values are set? #6712

Answered by PeterJohnson
brettle asked this question in Q&A
Discussion options

You must be logged in to vote

It should generally operate this way in the current implementation, but strict ordering is not guaranteed and you should not rely on this behavior. You can use timestamps (e.g. from getAtomic) to get a strict ordering, but structured data (in a single topic/update) may be a better choice depending on what you're trying to do.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brettle
Comment options

Answer selected by brettle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants