All are interruptible in a way or another. No less than one of the prevailing answers already gives an implementation of pause. Even your prompt implementation of sleep infinity is about-advanced as snooze alone is already interruptible Stack Trade community is made of 183 Q&A communities such as Stack Overflow, https://emersong555gyr7.shopping-wiki.com/user