I have been looking at akka-streams 0.7 and there used to be IteratorSource 
which could be used by passing Iterator. akka-streams 1.0-M4 no longer has 
IteratorSource but it has a Source object that takes function which 
produces an Iterator.
Is main reason reason for this so that Iterator could be created more than 
once when multiple Subscribers subscribe?

Is there a way to create Source from Iterator that I do not want to create 
more than once? Basically, given Iterator that wraps ResultSet I don't want 
akka-streams to create it more than once.
I'd rather stay away from implementing Publisher as Slick does in order to 
ensure once Subscriber.

Thanks you,
Andre Piwoni

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to