Timeouts for sync config

This commit is contained in:
Zef Hemel
2023-01-14 18:51:00 +01:00
parent d371f2f68a
commit e5276319e0
16 changed files with 225 additions and 70 deletions
+5
View File
@@ -22,3 +22,8 @@ export function listCommands(): Promise<{ [key: string]: CommandDef }> {
export function reloadPlugs() {
syscall("system.reloadPlugs");
}
// Returns what runtime environment this plug is run in, e.g. "server" or "client" can be undefined, which would mean a hybrid environment (such as mobile)
export function getEnv(): Promise<string | undefined> {
return syscall("system.getEnv");
}