finishExecution()
Terminates execution of the current playground page.
Declaration
final func finishExecution() -> Neverfunc finishExecution() -> NeverDiscussion
This function immediately terminates any code running in the playground. Call this function when you've set needsIndefiniteExecution to true to indicate that the indefinite period of code execution has ended.