Run code periodically using Promises
Previous post describes an implementation of a one-liner pause mechanism using a Promise. Here it is...
Tags: javascript, scheduler, async