Open History to see the last commit
1/**
2 * How long the note editor waits after the last change before it saves.
3 * Dev builds can change it from the page URL, `?saveDelay=<ms>` (see
4 * `api/dev-console.ts`), to make the wait long enough for scripted tests.
5 */
6export let editorSaveDelayMs = 500;
7
8export function setEditorSaveDelay(ms: number) {
9 editorSaveDelayMs = ms;
10}