Skip to content

qanary-component-core/helper/sleep

This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.

  • Package: @leipzigtreechat/qanary-component-core
  • Source file: packages/qanary-component-core/src/helper/sleep.ts

Sleeps for the provided amount of milliseconds

function sleep(ms: number): Promise<unknown>

Sleeps for the provided amount of milliseconds

Parameters

  • ms (number): the amount of milliseconds to sleep Returns
  • Promise<unknown>: a promise that resolves after the provided amount of milliseconds Defined at: line 6