SharedPublisher#

class SharedPublisher(publisher: Publisher)[source]#

Bases: Publisher

A publisher that can be shared between multiple instruments.

Initialize a shared publisher, assuming exclusive ownership of the publisher provided.

Methods

clone

Clone the shared publisher for use with another instrument.

close

Close this instance and possibly release the underlying publisher.

publish

Publish data to the underlying publisher being shared.