Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
method BufWriterSync.prototype.reset
import { BufWriterSync } from "https://deno.land/x/proc@0.20.5/legacy/deps.ts";

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