Re: [akka-user] [akka stream] Materialize a Source only once

2015-05-14 Thread Jonas Adler
:30 PM, Jonas Adler jns@gmail.com javascript: wrote: Hi All, I have a graph consisting of 2 parts: The first part is a flow that connects to an irc network, it looks something like this: Source[IrcMessage, Unit] The second part is a flow that is materialized once per client connection

Re: [akka-user] [akka stream] Materialize a Source only once

2015-05-14 Thread Jonas Adler
:30 PM, Jonas Adler jns@gmail.com javascript: wrote: Hi All, I have a graph consisting of 2 parts: The first part is a flow that connects to an irc network, it looks something like this: Source[IrcMessage, Unit] The second part is a flow that is materialized once per client connection

[akka-user] [akka stream] Materialize a Source only once

2015-05-10 Thread Jonas Adler
Hi All, I have a graph consisting of 2 parts: The first part is a flow that connects to an irc network, it looks something like this: Source[IrcMessage, Unit] The second part is a flow that is materialized once per client connection (websockets: Flow[Message, Message, Any]). The goal is to

[akka-user] [akka-stream] How to design a bidi flow graph so that the source can emit messages in response to messages from the sink?

2015-04-24 Thread Jonas Adler
Hi, we're evaluating akka-stream for the usage in a future project of ours. The IRC client spec (https://tools.ietf.org/html/rfc2812) is somewhat comparable to what we will need to be able to do in our real project. I'm struggling with the design of a graph in which the source has to emit