Callback support during transition function mainLoop