@chengaoyuan/yield
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

yield

npm version install size NPM Downloads Build Status Coverage Status

Installation

$ npm install @chengaoyuan/yield

Usage

import async_yield from "@chengaoyuan/yield";
async function func() {
    console.log(Date.now());
    await async_yield();
    console.log(Date.now());
}
func();

Testing

$ npm test

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i @chengaoyuan/yield

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.35 kB

    Total Files

    6

    Last publish

    Collaborators

    • chengaoyuan