Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

@xylabs/delay

Package Overview
Dependencies
Maintainers
5
Versions
536
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/delay

Base functionality used throughout XY Labs TypeScript/JavaScript libraries

latest
Source
npmnpm
Version
5.0.100
Version published
Weekly downloads
5K
23.75%
Maintainers
5
Weekly downloads
 
Created
Source

@xylabs/delay

npm license

Base functionality used throughout XY Labs TypeScript/JavaScript libraries

Install

Using npm:

npm install {{name}}

Using yarn:

yarn add {{name}}

Using pnpm:

pnpm add {{name}}

Using bun:

bun add {{name}}

License

See the LICENSE file for license rights and limitations (LGPL-3.0-only).

Reference

packages

delay

### .temp-typedoc

  ### functions

    ### <a id="delay"></a>delay

@xylabs/delay

function delay(ms): Promise<unknown>;

Returns a promise that resolves after the specified number of milliseconds.

Parameters

ms

number

The number of milliseconds to delay.

Returns

Promise<unknown>

A promise that resolves after the delay.

Keywords

delay

FAQs

Package last updated on 22 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts