(
collection: string,
entityId: string,
callback: () => void
)
| 527 | } |
| 528 | |
| 529 | onEntitySyncSuccess( |
| 530 | collection: string, |
| 531 | entityId: string, |
| 532 | callback: () => void |
| 533 | ) { |
| 534 | this.entitySyncSuccessSubscribers.set(collection, entityId, callback); |
| 535 | return () => { |
| 536 | this.entitySyncSuccessSubscribers.delete(collection, entityId); |
| 537 | }; |
| 538 | } |
| 539 | |
| 540 | onEntitySyncError( |
| 541 | collection: string, |
no test coverage detected