If this is eventually going to require high reliability and low latency, a polyfill for `setImmediate` (M$) using `postMessage` would be preferable.