(encoder, doc, targetStateVector = new Map())
| 481 | * @function |
| 482 | */ |
| 483 | export const writeStateAsUpdate = (encoder, doc, targetStateVector = new Map()) => { |
| 484 | writeClientsStructs(encoder, doc.store, targetStateVector) |
| 485 | writeIdSet(encoder, doc.store.ds) |
| 486 | } |
| 487 | |
| 488 | /** |
| 489 | * Write all the document as a single update message that can be applied on the remote document. If you specify the state of the remote client (`targetState`) it will |
no test coverage detected
searching dependent graphs…