trilium
Preparing search index...
Backend Script API
<internal>
SpacedUpdate
Class SpacedUpdate
Index
Constructors
constructor
Methods
allow
Update
Without
Change
is
All
Saved
And
Trigger
Update
schedule
Update
trigger
Update
update
Now
If
Necessary
Constructors
constructor
new
SpacedUpdate
(
updater
:
Updater
,
updateInterval
?:
number
)
:
SpacedUpdate
Parameters
updater
:
Updater
updateInterval
:
number
= 1000
Returns
SpacedUpdate
Methods
allow
Update
Without
Change
allowUpdateWithoutChange
(
callback
:
()
=>
void
)
:
Promise
<
void
>
Parameters
callback
:
()
=>
void
Returns
Promise
<
void
>
is
All
Saved
And
Trigger
Update
isAllSavedAndTriggerUpdate
()
:
boolean
Returns
boolean
schedule
Update
scheduleUpdate
()
:
void
Returns
void
trigger
Update
triggerUpdate
()
:
void
Returns
void
update
Now
If
Necessary
updateNowIfNecessary
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
allow
Update
Without
Change
is
All
Saved
And
Trigger
Update
schedule
Update
trigger
Update
update
Now
If
Necessary
trilium
Loading...