Helper classes and methods for implementing the idle-until-urgent pattern, based on TypeScript, and SSR compatible.