We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6468375 commit a0e9648Copy full SHA for a0e9648
src/Obsidian/Cache.ts
@@ -234,10 +234,8 @@ export class Cache {
234
});
235
this.eventsEventReferences.push(requestReference);
236
237
- const reloadVaultReference = this.events.onReloadVault(async () => {
238
- // The caller is responsible for debouncing this.
239
- await this.loadVault();
240
- });
+ // The caller is responsible for debouncing this:
+ const reloadVaultReference = this.events.onReloadVault(async () => await this.loadVault());
241
this.eventsEventReferences.push(reloadVaultReference);
242
}
243
0 commit comments