one
Version:
One is a new React Framework that makes Vite serve both native and web.
7 lines • 426 B
TypeScript
export declare function resolveResponse(getResponse: () => Promise<Response>): Promise<any>;
/**
* enter ALS context once for the entire request handler.
*/
export declare function withRequestContext<T>(fn: () => Promise<T>): Promise<T>;
export declare function resolveAPIEndpoint(runEndpoint: () => Promise<any>, request: Request, params: Record<string, string>): Promise<any>;
//# sourceMappingURL=resolveResponse.d.ts.map