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

std/node/_utils.ts>once

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function once
import { once } from "https://deno.land/std@0.128.0/node/_utils.ts";

Type Parameters

optional
T = undefined

Parameters

callback: (...args: OptionalSpread<T>) => void