make-async-generator-function
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/make-async-generator-function package

1.0.0 • Public • Published

make-async-generator-function Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

Returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.

Example

var asyncGeneratorFunctions = require('make-async-generator-function');
assert(typeof asyncGeneratorFunctions === 'function');
 
var funcs = asyncGeneratorFunctions();
assert(Array.isArray(funcs), true);

Tests

Simply clone the repo, npm install, and run npm test

Package Sidebar

Install

npm i make-async-generator-function

Weekly Downloads

78

Version

1.0.0

License

MIT

Unpacked Size

9.23 kB

Total Files

10

Last publish

Collaborators

  • ljharb