When writing code for the web, eventually you'll need to do some process that might take a few moments to complete.