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

std/node/stream.ts>Duplex#end

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Duplex.prototype.end
Re-export
import { Duplex } from "https://deno.land/std@0.162.0/node/stream.ts";

Parameters

optional
cb: () => void

Parameters

chunk: any
optional
cb: () => void

Parameters

chunk: any
optional
encoding: BufferEncoding
optional
cb: () => void