style: enable rxjs/finnish (#6276)

chore(infra): use finnish notation for observables

do rename
This commit is contained in:
EYHN
2024-03-24 17:04:51 +00:00
parent c6676fd074
commit 2b42a75e5a
104 changed files with 797 additions and 591 deletions

View File

@@ -141,7 +141,7 @@ function getMainAPIs() {
return { apis, events };
}
const helperPort$ = new Promise<MessagePort>(resolve =>
const helperPort = new Promise<MessagePort>(resolve =>
ipcRenderer.on('helper-connection', e => {
console.info('[preload] helper-connection', e);
resolve(e.ports[0]);
@@ -183,7 +183,7 @@ function getHelperAPIs() {
};
const rpc = AsyncCall<HelperToRenderer>(rendererToHelperServer, {
channel: helperPort$.then(helperPort =>
channel: helperPort.then(helperPort =>
createMessagePortChannel(helperPort)
),
log: false,