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

std/io/mod.ts>BufWriterSync#flush

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

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