Example of Asynchronous code in Purescript