Revert "feat(core): run indexer in worker (#7295)"

This reverts commit c62d79ab14.
This commit is contained in:
forehalo
2024-07-03 10:16:27 +08:00
parent fc729d6a32
commit f0d127fa29
13 changed files with 352 additions and 691 deletions
+1 -3
View File
@@ -18,7 +18,6 @@ import {
timer,
} from 'rxjs';
import { MANUALLY_STOP } from '../utils';
import type { LiveData } from './livedata';
/**
@@ -108,8 +107,7 @@ export function fromPromise<T>(
.catch(error => {
subscriber.error(error);
});
return () => abortController.abort(MANUALLY_STOP);
return () => abortController.abort('Aborted');
});
}