Also, familiarize yourself with the BidiFlow API:
`BidiFlow.atop`
`BidiFlow.join`
`Flow.atop`
`Flow.join`



On Wed, Mar 30, 2016 at 2:00 AM, Konrad Malawski <[email protected]>
wrote:

> Source + 1 input = Flow :-)
>
> Read up on custom stages
> http://doc.akka.io/docs/akka/2.4.2/scala/stream/stream-customize.html#stream-customize-scala
> and implement one using GraphStage, you can expose FlowShape from it.
>
> Nothing mandates that the input of a flow has to directly go into the
> output – it can be, as you hinted, just a "feedback input".
>
>
> Happy hakking.
>
> --
> Cheers,
> Konrad 'ktoso’ Malawski
> <http://akka.io>Akka <http://akka.io> @ Lightbend <http://typesafe.com>
> <http://lightbend.com>
>
> On 30 March 2016 at 01:58:09, Gary Struthers ([email protected])
> wrote:
>
> I'm thinking about a Source that gets external data having a feedback
> input to tell it when to get more data. Is there a way to make a shape with
> an input and still work as a Source?
>
> Thanks,
> Gary
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to