/**
* Transforms the type of events in this collection of events with the
* specified function.
*
* @tsplus static ParSeq.Aspects map
* @tsplus pipeable ParSeq map
*/
export function map(f: (a: A) => B) {
return (self: ParSeq): ParSeq => self.flatMap((a) => ParSeq.single(f(a)))
}