Allow to perform actions in the middle of computation.