@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
9 lines • 433 B
text/typescript
//#region src/libs/runtime/with-response-cleanup.d.ts
/**
* Keeps invocation-owned resources alive until a streamed response finishes,
* then releases them when the body completes, fails or is cancelled.
*/
declare const withResponseCleanup: (response: Response, cleanup: () => void | Promise<void>) => Promise<Response>;
//#endregion
export { withResponseCleanup as default };
//# sourceMappingURL=with-response-cleanup.d.mts.map