Commit 2bc5fabf authored by Ignacio Corderi's avatar Ignacio Corderi
Browse files

Added forced() example

parent 5b72ecd6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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()