Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace async

Index

Functions

Functions

sleep

  • sleep(ms: number): Promise<true>
  • Resolves after a given timeout in ms

    Parameters

    • ms: number

      time to sleep

    Returns Promise<true>

    A Promise that resolves after ms

Generated using TypeDoc