void RequestDocumentAnnotationsJob::finalizeAsyncRun() { if (context().isDocumentOpen()) { const AsyncResult result = asyncResult(); sendAnnotations(result); } }
void UpdateDocumentAnnotationsJob::finalizeAsyncRun() { if (!context().isOutdated()) { const AsyncResult result = asyncResult(); incorporateUpdaterResult(result); sendAnnotations(result); } }