SharedPublisher#
- class SharedPublisher(publisher: Publisher)[source]#
Bases:
PublisherA publisher that can be shared between multiple instruments.
Initialize a shared publisher, assuming exclusive ownership of the publisher provided.
Methods
Clone the shared publisher for use with another instrument.
Close this instance and possibly release the underlying publisher.
Publish data to the underlying publisher being shared.
- clone() → SharedPublisher[source]#
Clone the shared publisher for use with another instrument.
- publish(
- data: Measurement | Command,
- **kwargs,
Publish data to the underlying publisher being shared.