write_and_wait#

async lsst.ts.watcher.write_and_wait(model, topic, timeout=1, verbose=False, **kwargs)#

Write data and wait for it to be processed by the topic callback.

Parmeters#

modelModel

Watcher model.

topicsalobj.topics.WriteTopic

Topic to write.

timeoutfloat, optional

Time limit, in seconds, to wait for the data to be processed.

verbosebool, optional

If true, print the data being written.

kwargsdict

Data to write.