---
url: /process-functions/csvwriter-close.md
description: The object the function is called with will no longer be useable.
---

# CSVWriter » close

#### Closes the stream to the CSV file.

The object the function is called with will no longer be useable.

#### Parameters

No parameters

#### Example

```js
let csv = datasource.csv("example_file.csv"); 
csv.close(); 
```
