changeset 73702 | 7202e12cb324 |
parent 73565 | 1aa92bc4d356 |
child 74253 | 45dc9de1bd33 |
73701:d83e7e444b43 | 73702:7202e12cb324 |
---|---|
717 |
717 |
718 @tailrec final def await_stable_snapshot(): Document.Snapshot = |
718 @tailrec final def await_stable_snapshot(): Document.Snapshot = |
719 { |
719 { |
720 val snapshot = this.snapshot() |
720 val snapshot = this.snapshot() |
721 if (snapshot.is_outdated) { |
721 if (snapshot.is_outdated) { |
722 output_delay.sleep |
722 output_delay.sleep() |
723 await_stable_snapshot() |
723 await_stable_snapshot() |
724 } |
724 } |
725 else snapshot |
725 else snapshot |
726 } |
726 } |
727 |
727 |