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

std/node/_stream.d.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
import { Duplex } from "https://deno.land/std@0.164.0/node/_stream.d.ts";

Parameters

optional
cb: () => void

Parameters

chunk: any
optional
cb: () => void

Parameters

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