e49f23c04d
This introduces a CallbackIterator object that can sit in the data pipeline when setting image data and provide periodic callbacks to allow recording status, checking for cancellation, etc. If the callback raises an exception, that will bubble up to the read operation and cause an abort. The heartbeat is timer-based, but cooperative, which means if the data pipeline stalls, we will stop heartbeating. The goal is to provide a callback about once per minute, although blocking on the pipeline could make that less regular of course. Change-Id: I136ef792d601326a67266e9ea9fcadd79ddba69e |
||
---|---|---|
.. | ||
api_image_import | ||
image_import | ||
__init__.py | ||
utils.py |