Google interview question

Implement an asynchronous callback function