He-Pin opened a new issue, #2222:
URL: https://github.com/apache/pekko/issues/2222

   refs: https://github.com/akka/akka/issues/18406
   
   ```scala
     def source[E]: Accumulator[E, Source[E, ?]] = {
       // If Pekko streams ever provides Sink.source(), we should use that 
instead.
       // https://github.com/akka/akka/issues/18406
       new SinkAccumulator(
         Sink
           .asPublisher[E](fanout = false)
           .mapMaterializedValue(publisher => 
Future.successful(Source.fromPublisher(publisher)))
       )
     }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to