Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/legacy/deps.ts>BufWriterSync#reset

A better way to work with processes in Deno.
Go to Latest
method BufWriterSync.prototype.reset
import { BufWriterSync } from "https://deno.land/x/proc@0.20.30/legacy/deps.ts";

Discards any unflushed buffered data, clears any error, and resets buffer to write its output to w.