pylabrobot.resources.PetriDish.register_state_update_callback

pylabrobot.resources.PetriDish.register_state_update_callback#

PetriDish.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]) –