No, it can be any pure function or IO. Both will get interrupted.