UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

9 lines (8 loc) 352 B
import { Response } from './Response'; import { Request } from './Request'; import { Store } from '../types/Cache'; import { Func } from '../types/Func'; export declare class LocalRequestStore implements Store<Response, Request> { key: (_req: Request) => string; execute(req: Request, f: Func<Promise<Response>, Request>): Promise<Response>; }