Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

make-async-generator-function

ljharb391MIT1.0.0TypeScript support: definitely-typed

Function that returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.

function, generator function, async generator function, async function, generator, async generator

readme

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

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.0.0 - 2020-06-16

Commits