How to run the code in swift in infinite mode.
/*
- https://developer.apple.com/documentation/corefoundation/1542011-cfrunlooprun
- https://blog.ibireme.com/2015/05/18/runloop/
*/
import Foundation
CFRunLoopRun()
import PlaygroundSupport
public func playgroundShouldContinueIndefinitely() {
PlaygroundPage.current.needsInfiniteExecution = true
}