mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
feat: cancel button when waiting to connect database, closes #830
This commit is contained in:
@@ -15,6 +15,10 @@ export default class {
|
||||
return ipcRenderer.invoke('connect', unproxify(newParams));
|
||||
}
|
||||
|
||||
static abortConnection (uid: string): void {
|
||||
ipcRenderer.send('abort-connection', uid);
|
||||
}
|
||||
|
||||
static checkConnection (uid: string): Promise<boolean> {
|
||||
return ipcRenderer.invoke('check-connection', uid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user