swave.compat.akka
Converts to underlying Sink into a Drain.
Sink
Drain
Converts to underlying Sink into a Drain. The drain's result type is derived from the sink's Mat type: If Mat is Future[T] the result type is Mat, otherwise it's Future[Mat].
Mat
Future[T]
Future[Mat]