Go to Latest
function default
import { default } from "https://dotland.deno.dev/std@0.110.0/node/_stream/end_of_stream.ts";

Appends an ending callback triggered when a stream is no longer readable, writable or has experienced an error or a premature close event

Parameters

options: FinishedOptions | null
callback: (err?: NodeErrorAbstraction | null) => void

Returns

() => void

Parameters

callback: (err?: NodeErrorAbstraction | null) => void

Returns

() => void

Parameters

x: FinishedOptions | ((err?: NodeErrorAbstraction | null) => void) | null
optional
y: (err?: NodeErrorAbstraction | null) => void