Batching events with RxJS

A concise and simple guide on how to implement event batching for a JavaScript app