@lunit/timeout
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

How to Use

npm install @lunit/timeout
import { timeout } from '@lunit/timeout';

async function mockAPI() {
  await timeout(1000);
  
  return {
    data: 'foo',
  };
}

/@lunit/timeout/

    Package Sidebar

    Install

    npm i @lunit/timeout

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • deminoth
    • jyseo
    • takhyunkim
    • lunit-larry-kim
    • lunit-seonghun
    • tedshin
    • tobio89