Trilium Frontend API
    Preparing search index...

    Class default

    Index

    Constructors

    • Parameters

      • updater: Callback
      • OptionalupdateInterval: number

      Returns default

    Methods

    • Parameters

      • callback: Callback

      Returns Promise<void>

    • Returns boolean

    • Normally () would actually trigger the update only once per updateInterval. If the method is called 200 times within 20s, it will execute only 20 times. Sometimes, if the updates are continuous this would cause a performance impact. Resetting the time ensures that the calls to triggerUpdate have stopped before actually triggering an update.

      Returns void

    • Returns void

    • Sets the update interval for the spaced update.

      Parameters

      • interval: number

        The update interval in milliseconds.

      Returns void

    • Returns void

    • Returns Promise<void>