Skip to content

Instance Method

sequencedFlatMapEachCompact(on:_:)

Variant of sequencedFlatMapEach(on:_:) which provides compactMap() semantics by allowing result values to be nil. Such results are not included in the output array.
func sequencedFlatMapEachCompact<Result>(on eventLoop: any EventLoop, _ transform: @escaping (Self.Element) -> EventLoopFuture<Result?>) -> EventLoopFuture<[Result]>