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

std/io/bufio.ts>BufWriter#flush

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BufWriter.prototype.flush
import { BufWriter } from "https://deno.land/std@0.63.0/io/bufio.ts";

Flush writes any buffered data to the underlying io.Writer.

Returns

Promise<void>