Skip to content

Lifetime of NetworkTableEvents and associated data? #6733

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

You must be logged in to vote

In Java, the lifetime is forever; Event objects passed to the callback are not reused (new objects are created for every event) and can be retained/used indefinitely by the callback function.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PeterJohnson
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