ChemPal Documentation - v1.6.0
    Preparing search index...

    Type Alias BadgeEvent

    BadgeEvent:
        | { type: STARTED }
        | { type: RESULTS_COUNT; count: number }
        | { type: COMPLETED; count: number }
        | { type: ABORTED }
        | { type: FAILED }
        | { type: typeof IDB_SEARCH_RESULTS_CLEARED }

    A badge-lifecycle event fed to reduceBadge.