feat(core): new worker workspace engine (#9257)

This commit is contained in:
EYHN authored and GitHub committed 2025-01-16 16:22:18 +00:00
1 parent 7dc470e7ea
commit a2ffdb4047
219 files changed
+4265 -7192

No files matched your search

@@ -1,6 +1,7 @@
import { assertExists } from '@blocksuite/global/utils';
import { diffUpdate, encodeStateVectorFromUpdate, mergeUpdates } from 'yjs';
import { MANUALLY_STOP } from '../../utils/throw-if-aborted.js';
import type { DocSource } from '../source.js';
type ChannelMessage =
@@ -85,7 +86,7 @@ export class BroadcastChannelDocSource implements DocSource {
{ signal: abortController.signal }
);
return () => {
abortController.abort();
abortController.abort(MANUALLY_STOP);
};
}
}