Type Alias TrieSearchSubscribeHandler<T>

TrieSearchSubscribeHandler<T>: (({ action, trieSearch, }: {
    action?:
        | "add"
        | "clear"
        | "destroy"
        | "subscribe";
    trieSearch?: TrieSearch<T>;
}) => unknown)

Defines the readable store subscriber / handler function.

Type Parameters

  • T extends object