📚 The CoCalc Library - books, templates and other resources
1x = c.submit(inc, 1) 2y = c.submit(dec, 2) 3total = c.submit(add, x, y) 4 5print(total) # This is still a future 6c.gather(total) # This blocks until the computation has finished 7 8