SandboxFile represents an open file in the sandbox filesystem. Provides read/write operations similar to Node.js fsPromises.FileHandle.
fsPromises.FileHandle
Close the file handle.
Flush any buffered data to the file.
Read data from the file.
Promise that resolves to the read data as Uint8Array
Write data to the file.
Data to write (string or Uint8Array)
SandboxFile represents an open file in the sandbox filesystem. Provides read/write operations similar to Node.js
fsPromises.FileHandle
.