Skip to main content
Deno.FsFile.prototype.close - Deno documentation
method Deno.FsFile.prototype.close
FsFile.prototype.close(): void
Close the file. Closing a file when you are finished with it is important to avoid leaking resources. ```ts using file = await Deno.open("my_file.txt"); // do work with "file" object ```

Return Type

void