@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

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