Skip to content

Conversation

jasondaming
Copy link
Member

Summary

Adds explanation of how to achieve table-specific listening in NetworkTables 4, since NetworkTable-level listeners were removed. Documents the pattern of using NetworkTableInstance.addListener() with topic name prefix filters.

Changes

  • Added paragraph explaining table-specific listening with prefix filters
  • Provides example of using ["/datatable/"] array to listen only to a specific table
  • References the "listening for changes" documentation for implementation details

Fixes #2314

Adds explanation of how to achieve table-specific listening in NT4 using NetworkTableInstance.addListener() with topic name prefix filters, since NetworkTable-level listeners were removed in NT4.

Fixes wpilibsuite#2314
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.

Document table specific listeners in NT4 migration guide

2 participants