- I needed to have a lightweight throttle function that I can rely on.
- Calls ASAP
- Defers call if throttled
- Can cancel an enqueued call if you really want to (say, a component has unmounted, instance was destroyed etc.)
- Something TSC would infer type safely
/**