UNPKG

axax

Version:

A library of async iterator extensions for JavaScript including ```map```, ```reduce```, ```filter```, ```flatMap```, ```pipe``` and [more](https://github.com/jamiemccrindle/axax/blob/master/docs/API.md#functions).

11 lines (10 loc) 250 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function wait(delay) { return new Promise(function (resolve) { setTimeout(function () { resolve(); }, delay); }); } exports.wait = wait;