Codibre/fluent-iterable

View on GitHub
src/async/unwind-async.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { unwindRecipe } from '../recipes';
import { basicAsync } from './basic-ingredients-async';
import { combineJoinAsync } from './combine-join-async';
import { flattenAsync } from './flatten-async';
import { toObjectAsync } from './to-object-async';

export const unwindAsync = unwindRecipe({
  ...basicAsync,
  flatten: flattenAsync,
  combineJoin: combineJoinAsync,
  toObject: toObjectAsync,
  symbols: [Symbol.iterator, Symbol.asyncIterator],
});