@lvce-editor/quick-pick-worker 4.31.0 → 4.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1273,6 +1273,12 @@ const {
|
|
|
1273
1273
|
invokeAndTransfer,
|
|
1274
1274
|
set: set$6
|
|
1275
1275
|
} = create$4(RendererWorker);
|
|
1276
|
+
const initializeRendererWorkerForWorker = async commandMap => {
|
|
1277
|
+
const rpc = await create$5({
|
|
1278
|
+
commandMap
|
|
1279
|
+
});
|
|
1280
|
+
set$6(rpc);
|
|
1281
|
+
};
|
|
1276
1282
|
const sendMessagePortToEditorWorker = async (port, rpcId) => {
|
|
1277
1283
|
const command = 'HandleMessagePort.handleMessagePort';
|
|
1278
1284
|
await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToEditorWorker', port, command, rpcId);
|
|
@@ -5766,17 +5772,10 @@ const initializeFileSearchWorker = async () => {
|
|
|
5766
5772
|
set$8(rpc);
|
|
5767
5773
|
};
|
|
5768
5774
|
|
|
5769
|
-
const initializeRendererWorker = async () => {
|
|
5770
|
-
const rpc = await create$5({
|
|
5771
|
-
commandMap: commandMap
|
|
5772
|
-
});
|
|
5773
|
-
set$6(rpc);
|
|
5774
|
-
};
|
|
5775
|
-
|
|
5776
5775
|
const listen = async () => {
|
|
5777
5776
|
Object.assign(commandMapRef, commandMap);
|
|
5778
5777
|
registerCommands(commandMap);
|
|
5779
|
-
await Promise.all([
|
|
5778
|
+
await Promise.all([initializeRendererWorkerForWorker(commandMap), initializeEditorWorker(), initializeExtensionManagementWorker(), initializeFileSearchWorker(), initializeCacheWorker()]);
|
|
5780
5779
|
};
|
|
5781
5780
|
|
|
5782
5781
|
const main = async () => {
|