StreamClass.prototype.flatMap<U>(fn: (value: T,index: number) => Source<U>): StreamClass<Exclude<U, AnyFailure>, E | Extract<U, AnyFailure>>
Expands each value into a source and flattens it in order — pages into rows, rows into cells. Failure elements pass through unexpanded.
await Stream.from([[1, 2], [3]]).flatMap((page) => page).collect(); // [1, 2, 3]
StreamClass<Exclude<U, AnyFailure>, E | Extract<U, AnyFailure>>