pylabrobot.resources.ItemizedResource.register_state_update_callback#

ItemizedResource.register_state_update_callback(callback: Callable[[Dict[str, Any]], None])#

Register a callback that will be called when the state of the resource changes.

Parameters:

callback (Callable[[Dict[str, Any]], None])