Re: [akka-user] Akka stream - implements Pause/Resume

2016-10-14 Thread regis leray
t;wake up" the stage to be able to push > data again. > In your current setup it never "wakes up" since all pulls/pushes have been > processed - the stage has no idea it should do something once you called > open. > > On Fri, Oct 14, 2016 at 12:13 AM, regis

Re: [akka-user] Re: Akka stream - implements Pause/Resume

2016-10-14 Thread regis leray
= { mode = ValveMode.Closed } } The whole solution https://gist.github.com/regis-leray/013dfe030159bcd890ca0d5cd440c938 Le vendredi 14 octobre 2016 08:13:21 UTC-4, Konrad Malawski a écrit : > > Have you read the blog post? > In the async callback you can push(), that's wha

[akka-user] Akka stream - Flow in Pause

2016-10-13 Thread regis leray
probe.request(2) probe.expectNext(2, 3) probe.expectComplete() } } Here the gist https://gist.github.com/regis-leray/013dfe030159bcd890ca0d5cd440c938 -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>>

[akka-user] Re: Akka stream - Flow in Pause

2016-10-14 Thread regis leray
ctNext shouldEqual 2 } Any help would be really appreciated Here https://gist.github.com/regis-leray/013dfe030159bcd890ca0d5cd440c938 Le jeudi 13 octobre 2016 12:52:58 UTC-4, regis leray a écrit : > > Hi, > > I'm trying to implements a way to control a flow (start/stop), nothi

[akka-user] Akka stream - implements Pause/Resume

2016-10-14 Thread regis leray
y something i dont catch up, if anyone could help me to see some light Here the gist https://gist.github.com/regis-leray/013dfe030159bcd890ca0d5cd440c938 Any help would be appreciated -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>&g

Re: [akka-user] Akka stream - Framing with multiple delimiters

2017-11-11 Thread regis leray
ent > we could perhaps add more power to the framing stage, e.g. a funtion > ByteString => Boolean. That would be a good community contribution. > > /Patrik > > lör 11 nov. 2017 kl. 04:31 skrev regis leray <regis...@gmail.com > >: > >> Hi, >> >> Curr

[akka-user] Akka stream - Framing with multiple delimiters

2017-11-10 Thread regis leray
Hi, Currently the implementation Framing.delimiter(ByteString("."), Int.MaxValue) only accept one delimiter. I would like to be able to use many delimiters . , ; to be able to parse such string Lorem Ipsum is simply,Dummy text of the printing;And typesetting industry. thanks --