make-async-generator-function
v1.0.0
Published
Function that returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.
Downloads
1,207
Maintainers
Readme
#make-async-generator-function
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