MultiSubscriber
- class ntcore.MultiSubscriber(inst: ntcore._ntcore.NetworkTableInstance, prefixes: List[str], options: ntcore._ntcore.PubSubOptions = <ntcore._ntcore.PubSubOptions object at 0x725cfc151630>)
Bases:
pybind11_object
Subscribe to multiple topics based on one or more topic name prefixes. Can be used in combination with NetworkTableListenerPoller 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