Type Alias TrieSearchSubscribeHandler<T>

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

Defines the readable store subscriber / handler function.

Type Parameters

  • T extends object