How to trigger a page refresh in the Admin UI after a Lifecycle Hook?

Did anyone here ever get this to work? If so, could you provide a code example?