Renames sync.* syscalls to be more accurate, specifically that this is not about scheduling a sync but actually performing the sync.
8 lines
246 B
TypeScript
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.");
|
|
}
|