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

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

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

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