close

Close a TextFile handle in a BrowserPod Pod to flush pending writes and release the file once you have finished reading or writing.

class TextFile {
async close(): Promise<void>;
}

Parameters

close does not have any parameters.

Returns

close returns a Promise which is resolved when the operation has succeeded.

Was this page helpful?
Suggest changes