I have a continuous loop in scala worksheet represented by the rotating bar.
object sheet1 {
   def loop() : Int = loop
   /   <-- rotating bar
   loop()
}
Is there a way to break out of the loop?
NOTE:
I am asking how to terminate execution within Scala Worksheet. I am NOT asking how to terminate out of a loop in scala. This question I am asking is definitely NOT the same as this: How do I break out of a loop in Scala?
 
     
    