@leyyo/cache
Version:
Common cache library
14 lines (13 loc) • 608 B
TypeScript
import { CacheChannel, CacheChannelPropData } from "../channel";
import { CacheClient } from "../client";
import { CacheUtil } from "../util";
import { Id, TR } from "../types";
import { CacheFormat } from "../format";
export declare abstract class CacheCommandAbstract<A extends TR, N extends Id> {
protected readonly channel: CacheChannel<A, N>;
protected readonly client: CacheClient;
protected readonly util: CacheUtil;
protected readonly prop: Readonly<CacheChannelPropData<A>>;
protected readonly format: CacheFormat<A, N>;
protected constructor(channel: CacheChannel<A, N>);
}