Flarum (2.x)
    Preparing search index...
    Index
    checkAgain: boolean = false

    A check was asked for while one was running; it runs once that's done.

    checking: Promise<void> | null = null
    checkTimer: number | null = null
    fullCheckDue: boolean = false

    Whether the queued check has to be a full one, not only recheck().

    insertedAtTop: boolean = false

    Items were just inserted above the reader; the component keeps their place.

    key: string = ...

    Tells this column's state from the one it is replaced by when its settings change, which has to be shown afresh: loaded, started and watched.

    lastChecked: number = 0
    loaded: Promise<unknown> | null = null
    newCount: number = 0

    Items waiting behind the "new" pill.

    requests: Promise<void> = ...

    Checks and rechecks ask the server one at a time, so an answer that arrives late can't undo a newer one: a discussion locked, then unlocked.

    scrollTop: number = 0
    stale: boolean = false

    Something may have changed while the column was off screen.

    visible: boolean = false
    • However many events arrive, a column asks the server at most every MIN_CHECK_INTERVAL.

      Parameters

      • live: boolean
      • recheckOnly: boolean = false

        Only recheck() is needed, unless something else in the same burst asks for a full check.

      Returns void