Added sync config

This commit is contained in:
Official Noob
2019-12-31 19:16:46 +00:00
committed by GitHub
parent 2917de6776
commit a94d941125

View File

@@ -32,6 +32,9 @@ async function config() {
SB.config = configProxy();
}
// Sync config
config();
// Function that can be used to wait for a condition before returning
async function wait(condition, timeout = 5000, check = 100) {
return await new Promise((resolve, reject) => {