fix(core): update

This commit is contained in:
2024-06-14 17:02:28 +02:00
parent 2d7981aa6f
commit 2adbed8fdb
6 changed files with 26 additions and 17 deletions

View File

@@ -266,7 +266,7 @@ export class TimeDataTable {
/**
* streams all new entries using an observable
*/
public streamNewEntries(): plugins.smartrx.rxjs.Observable<any> {
public watchNewEntries(): plugins.smartrx.rxjs.Observable<any> {
return new plugins.smartrx.rxjs.Observable((observer) => {
const pollInterval = 1000; // Poll every 1 second
let lastTimestamp: number;