import { IAsyncEnumerable } from "../types" ; private export class BasicAsyncEnumerable < TSource > { public constructor ( private readonly iterator ) { } public [ Symbol . asyncIterator ] ( ) { return this . iterator ( ) ; } } private export interface BasicAsyncEnumerable < TSource > extends IAsyncEnumerable < TSource > { }