A callback to be invoked when an redo message is received by the server adapter.
A callback to be invoked when a remote transaction is received by the server adapter.
A callback to be invoked when an undo message is received by the server adapter.
Broadcast a transaction from a datastore to collaborators.
the transaction to broadcast to collaborators.
This is expected to be called by a datastore, and not by any other user. Direct invocations of this function may have unexpected results.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Redo a transaction by id.
Undo a transaction by id. This sends an undo message to the patch server, but the undo is not actually done until the datastore recieves the corresponding transaction and applies it.
Generated using TypeDoc
An interface for a bridge between a datastore and a patch server. Patch servers should expose an interface like this one, which mediates outgoing patches from a given store, and delivers incoming patches to a store.