UNPKG

@codibre/fluent-iterable

Version:

Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

9 lines (8 loc) 268 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.executeRecipe = executeRecipe; function executeRecipe({ map, resolver }) { return function (action) { return map.call(this, (x) => resolver(action(x), () => x)); }; }