()
| 224 | } |
| 225 | |
| 226 | function reject() { |
| 227 | const entitiesToRebase = new Set<AnyEntity>(); |
| 228 | for (const change of changes) { |
| 229 | entitiesToRebase.add(change.entity); |
| 230 | change.rollback(); |
| 231 | deregisterEntityChange(change); |
| 232 | } |
| 233 | |
| 234 | for (const entity of entitiesToRebase) { |
| 235 | rebaseEntityChanges(entity); |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | function undo() { |
| 240 | const entitiesToRebase = new Set<AnyEntity>(); |
nothing calls this directly
no test coverage detected