actionhero
Version:
The reusable, scalable, and quick node.js API server for stateless and stateful applications
20 lines (19 loc) • 533 B
TypeScript
import { cache, Action } from "./../index";
export declare class CacheTest extends Action {
constructor();
stringFormatter(s: any): string;
stringValidator(s: any): true | "inputs should be at least 3 letters long";
run({ params }: {
params: {
key: string;
value: string;
};
}): Promise<{
cacheTestResults: {
saveResp: boolean;
sizeResp: number;
loadResp: cache.CacheObject;
deleteResp: boolean;
};
}>;
}