ZenFS
    Preparing search index...

    Function mkdtempDisposable

    • The resulting Promise holds an async-disposable object whose path property holds the created directory path. When the object is disposed, the directory and its contents will be removed asynchronously if it still exists. If the directory cannot be deleted, disposal will throw an error. The object has an async remove() method which will perform the same task.

      Parameters

      • this: V_Context
      • prefix: PathLike
      • Optionaloptions: EncodingOption | BufferEncodingOption

      Returns Promise<
          {
              path: string;
              "[asyncDispose]"(): Promise<void>;
              remove(): Promise<void>;
          },
      >

      Add satisfies and maybe change return type once @types/node adds this.