Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method LibuvStreamWrap.prototype.shutdown
import { LibuvStreamWrap } from "https://deno.land/std@0.131.0/node/internal_binding/stream_wrap.ts";

Shutdown the stream.

Parameters

A shutdown request wrapper.

Returns

number

An error status code.