Expose reconciler hooks on servesession (#741)

This commit is contained in:
boatbomber 2023-07-16 21:03:06 -07:00 • committed by GitHub
parent 8662d2227c
commit 4915477823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 11 deletions

View file

@ -374,7 +374,7 @@ function App:startSession()
end)
end)
serveSession:onPatchApplied(function(patch, unapplied)
serveSession:hookPostcommit(function(patch, _instanceMap, unapplied)
local now = os.time()
local old = self.state.patchData