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 2 replies

Comment options

You must be logged in to vote
2 replies
@brettle
Comment options

@PeterJohnson
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