publish_measurement()#
- publish_measurement(func: Callable) Callable[source]#
Decorator that publishes the
Measurement(or list) returned by an instrument method.Lists are published item by item.
Nonepasses through unpublished (e.g. a measurement that could not be obtained). Channel naming is the call site’s responsibility.