sleep-monve
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

sleep

just a easy way to await sleep

Usage

import { sleep } from '@monvechen/sleep';

const main = async () => {
  //sleep 1000 ms
  await sleep(1000);
}

/sleep-monve/

    Package Sidebar

    Install

    npm i sleep-monve

    Weekly Downloads

    1

    Version

    1.0.3

    License

    Apache-2.0

    Unpacked Size

    14.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • monvechen