Change restore()
to be a promise which resolves on apply
#287
+15
−2
restore()
to be a promise which resolves on apply
#287