Module

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

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

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