MultiSubscriber

class ntcore.MultiSubscriber(inst: ntcore._ntcore.NetworkTableInstance, prefixes: List[str], options: ntcore._ntcore.PubSubOptions = <ntcore._ntcore.PubSubOptions object at 0x7f7830b73030>)

Bases: pybind11_object

Subscribe to multiple topics based on one or more topic name prefixes. Can be used in combination with ValueListenerPoller to listen for value changes across all matching topics.

Create a multiple subscriber.

Parameters:
  • inst – instance

  • prefixes – topic name prefixes

  • options – subscriber options

close() None

Destroys the subscriber