leftover async
This commit is contained in:
parent
7ba319b872
commit
0a033bba5b
|
@ -36,7 +36,7 @@ const syncMan = (() => {
|
||||||
let ctrl;
|
let ctrl;
|
||||||
let currentDrive;
|
let currentDrive;
|
||||||
/** @type {Promise|boolean} will be `true` to avoid wasting a microtask tick on each `await` */
|
/** @type {Promise|boolean} will be `true` to avoid wasting a microtask tick on each `await` */
|
||||||
let ready = prefs.ready.then(async () => {
|
let ready = prefs.ready.then(() => {
|
||||||
ready = true;
|
ready = true;
|
||||||
prefs.subscribe('sync.enabled',
|
prefs.subscribe('sync.enabled',
|
||||||
(_, val) => val === 'none'
|
(_, val) => val === 'none'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user