This is for executing a chain of promises with delays between every promise and also a functionality to be able to pause the chain. I created this to use for AI opponents in Javascript based board games. Uses the built-in Promise that is native to Javascript since ES2015, no framework needed.