Skip to main content
WriteStream.prototype.once - tty - Node documentation
method WriteStream.prototype.once

Usage in Deno

import { WriteStream } from "node:tty";
WriteStream.prototype.once(
event: string,
listener: (...args: any[]) => void,
): this

Parameters

event: string
listener: (...args: any[]) => void

Return Type

this
WriteStream.prototype.once(
event: "resize",
listener: () => void,
): this

Parameters

event: "resize"
listener: () => void

Return Type

this
Back to top