We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c958d8 commit 6e698a2Copy full SHA for 6e698a2
http-core/src/main/scala/org/apache/pekko/http/scaladsl/model/Multipart.scala
@@ -217,9 +217,8 @@ object Multipart {
217
}
218
219
private def strictify[BP <: Multipart.BodyPart, BPS <: Multipart.BodyPart.Strict](parts: Source[BP, Any])(
220
- f: BP => Future[BPS])(implicit fm: Materializer): Future[Vector[BPS]] = {
221
- import fm.executionContext
222
- parts.mapAsync(Int.MaxValue)(f).runWith(Sink.seq).fast.map(_.toVector)
+ f: BP => Future[BPS])(implicit fm: Materializer): Future[Seq[BPS]] = {
+ parts.mapAsync(Int.MaxValue)(f).runWith(Sink.seq)
223
224
225
//////////////////////// CONCRETE multipart types /////////////////////////
0 commit comments