(client: RemoteServerClient, capabilities: ServerCapabilities)
| 1238 | } |
| 1239 | |
| 1240 | function startRemoteWatch(client: RemoteServerClient, capabilities: ServerCapabilities): void { |
| 1241 | stopRemoteWatch() |
| 1242 | if (!capabilities.supportsWatch) return |
| 1243 | stopRemoteVaultWatch = client.watchVaultChanges((ev) => { |
| 1244 | windowVaults.sendRemoteVaultChange(ev) |
| 1245 | }) |
| 1246 | } |
| 1247 | |
| 1248 | async function setVaultForWindow( |
| 1249 | win: BrowserWindow, |
no test coverage detected