Look up how to run work concurrently in Swift.
Recent revisions are kept. Restoring one creates a new revision.