All the sample code that can be used for demo purposes while explaining promises.