import { asyncIterable } from '../utils/asyncIterable' ; export function flat < T > ( iterables ) ; export function flat < T > ( iterables ) ; export function flat < T > ( iterables ) ; export function flat < T > ( iterables ) { return asyncIterable ( async function * ( ) { for await ( const element of iterables ) { yield * element ; } } ) ; }