Skip to main content
Deno 2 is finally 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.21.5/legacy/deps.ts";

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