Skip to main content
Socket.prototype.timeout - net - Node documentation
property Socket.prototype.timeout

Usage in Deno

import { Socket } from "node:net";

The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.

Type

number | undefined
Back to top