🚧 WIP: backend: beginnings of a transactional editing for plugins (#525)

This commit is contained in:
Eric Doughty-Papassideris
2024-08-25 22:26:27 +02:00
parent 8f5061e613
commit 688217dfdb
4 changed files with 130 additions and 1 deletions
@@ -171,7 +171,10 @@ class OnlyOfficeService {
constructor() {
this.poller = new PolledThingieValue('Connect to Only Office', () => this.getVersion(), 10 * 1000 * 60);
}
/** Get the latest Only Office version */
/** Get the latest Only Office version from polling. If the return is `undefined`
* it probably means there is a connection issue contacting the OnlyOffice server
* from the connector.
*/
public getLatestVersion() {
return this.poller.latest();
}