Lifetime of NetworkTableEvent
s and associated data?
#6733
-
In Java, when a listener is called is there any limit on how long the data contained in and referred to by |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.