typestream.default.PipelineDestinationPromiseFunctiontype PipelineDestinationPromiseFunction<T, P> = (source: AsyncIterable<T>) => Promise<P>