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

Can you please provide a code snippet?