Skip to content

Commit 253347a

Browse files
authored
dev: comment on RealtimeQuery.remoteDocChanges$ (#3482)
1 parent ced642c commit 253347a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SIL.XForge.Scripture/ClientApp/src/xforge-common/models/realtime-query.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ export class RealtimeQuery<T extends RealtimeDoc = RealtimeDoc> {
7272
return this._ready$;
7373
}
7474

75+
/** Emitted when a document in the query results is changed remotely. Note that because remote document changes, and
76+
* remote query results changes, are not announced or applied in sync, `docs` might not be up-to-date when
77+
* `remoteDocChanges$` is emitted.
78+
*/
7579
get remoteDocChanges$(): Observable<any> {
7680
return this._remoteDocChanges$.asObservable();
7781
}

0 commit comments

Comments
 (0)