/** * @public */ export async function* map( it: AsyncIterableIterator, project: (value: T) => U, ): AsyncIterableIterator { for await (const chunk of it) { yield project(chunk) } }