Loading examples/Example 2 - Async.playground/Contents.swift +4 −1 Original line number Diff line number Diff line Loading @@ -20,5 +20,8 @@ future print("< closing session >") c.close() } //: You can also force the value future.forced(1.0) //: Allow the background threads to do their work XCPSetExecutionShouldContinueIndefinitely() Loading
examples/Example 2 - Async.playground/Contents.swift +4 −1 Original line number Diff line number Diff line Loading @@ -20,5 +20,8 @@ future print("< closing session >") c.close() } //: You can also force the value future.forced(1.0) //: Allow the background threads to do their work XCPSetExecutionShouldContinueIndefinitely()