Type Alias AsyncIdentityCache
AsyncIdentityCache: {
load: (
address: string,
) => Promise<Identity | undefined> | Identity | undefined;
save: (identities: Record<string, Identity>) => Promise<void> | void;
}
Type declaration
load: (address: string) => Promise<Identity | undefined> | Identity | undefined
save: (identities: Record<string, Identity>) => Promise<void> | void
Loads a single identity