createManagedTempRoot
createManagedTempRoot(
prefix,options?):Promise<{cleanup: () =>Promise<void>;path:string; }>
Defined in: wp-typia-project-tools/src/runtime/temp-roots.ts:134
Create a managed wp-typia temp root and install process cleanup handlers.
Parameters
Section titled “Parameters”prefix
Section titled “prefix”string
Temp directory prefix. Must start with wp-typia-.
options?
Section titled “options?”Pick<TempRootOptions, "tmpDir"> = {}
Optional temp directory override.
Returns
Section titled “Returns”Promise<{ cleanup: () => Promise<void>; path: string; }>
The created temp-root path plus an async cleanup helper.