!str #16102 Fold Tap/Drain into Source/Sink
* Fold Tap/Drain into Source/Sink * Create Source/Sink helpers to create all Sources/Sinks * Make concrete Source/Sink implementations private[scaladsl2]
This commit is contained in:
parent
41ca0522ef
commit
0f61909ea7
100 changed files with 1066 additions and 1178 deletions
|
|
@ -94,6 +94,6 @@ trait RouteTestResultComponent {
|
|||
failTest("Request was neither completed nor rejected within " + timeout)
|
||||
|
||||
private def awaitAllElements[T](data: Source[T]): immutable.Seq[T] =
|
||||
Await.result(data.grouped(Int.MaxValue).runWith(FutureDrain()), timeout)
|
||||
Await.result(data.grouped(Int.MaxValue).runWith(Sink.future), timeout)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue