Trilium Backend API
    Preparing search index...

    Class TaskContext<T>

    Type Parameters

    Index

    Constructors

    Properties

    data: TaskData<T>
    noteDeletionHandlerTriggered: boolean

    Methods

    • Returns void

    • Parameters

      • message: string

      Returns void

    • Sets the total expected units of work, so progress messages can carry a denominator and the client can show a progress bar instead of a bare count. Optional — tasks that don't know their total up front simply never call this.

      Parameters

      • totalCount: number

      Returns void

    • Parameters

      Returns void