Actions after a 4 seconds time interval

If I have some actions for a button and I want them executed 4 seconds (or a specific time interval) after the button is clicked is there a function that will do this?