import { IParallelEnumerable , ParallelGeneratorType } from "../../types" ; import { BasicParallelEnumerable } from "../BasicParallelEnumerable" ; type FromParallelFunc = { param type param generator returns < TSource > ( type , generator ) : IParallelEnumerable < TSource > ; param type param generator returns < TSource > ( type , generator ) : IParallelEnumerable < TSource > ; param type param generator returns < TSource > ( type , generator ) : IParallelEnumerable < TSource > ; } ; export const fromParallel = < TSource > ( type , generator ) => { return new BasicParallelEnumerable < TSource > ( { generator , type , } ) ; } ;