DispatcherStorageType
import { DispatcherStorageType } from "@hyper-fetch/core"
Description
Defined in dispatcher/dispatcher.types.ts:26
Preview
type DispatcherStorageType = {
clear: () => void;
delete: (key: string) => void;
get: <Command>(key: string) => DispatcherData<Command> | undefined;
keys: () => string[] | IterableIterator<string>;
set: <Command>(key: string, data: DispatcherData<Command>) => void;
}
Structure
{
clear: () => void;
delete: (key: string) => void;
get: (key: string) => DispatcherData<Command> | undefined;
keys: () => string[] | IterableIterator<string>;
set: (key: string, data: DispatcherData<Command>) => void;
}