This seems to be the callback interface signature: fn(), which I register thus monitors.register_callback(fn). Well, this at least works and given that nothing is documented, I am using this. One problem is that given the existence of N monitor sets, each registered callback receives N identical calls per iteration.
This seems to be the callback interface signature:
fn()
, which I register thusmonitors.register_callback(fn)
. Well, this at least works and given that nothing is documented, I am using this. One problem is that given the existence ofN
monitor sets, each registered callback receivesN
identical calls per iteration.