Files
plainleaf/plugs/sync/sync.ts
T
Zef Hemel f6edc3edd9 Fixes #1495
Renames sync.* syscalls to be more accurate, specifically that this is not about scheduling a sync but actually performing the sync.
2025-08-20 11:00:49 +02:00

8 lines
246 B
TypeScript

import { editor, sync } from "@silverbulletmd/silverbullet/syscalls";
export async function syncSpaceCommand() {
await editor.flashNotification("Syncing space...");
await sync.performSpaceSync();
await editor.flashNotification("Done.");
}