These are chat archives for akkadotnet/akka.net

18th
Apr 2016
Ralf
@Ralf1108
Apr 18 2016 06:27
is it possible to connect to actor system via named pipes?
Zetanova
@Zetanova
Apr 18 2016 06:54
If an bigger actor needs to make some requests and wait for the response, how to get this roundstrips in some kind of farmated code ?
BecomeStacked(msg =>
                {
                    return OldBecome(msg) || msg.Match()
                        .With<Response>(m =>
                        {

                            UnbecomeStacked();
                        })
                        .WasHandled;                    
                });
whould it plausible to inline the function and how to get the on the Oldbecome ?
How could it be done for multiple requests?
Zetanova
@Zetanova
Apr 18 2016 07:07
How i am currently doing things with requestIds, it is getting very fragmented and i think that i would get problems in 12monath to read and navigate in my own code
Jeff Cyr
@JeffCyr
Apr 18 2016 07:27
@Ralf1108 There's work in progress to support named pipes in v1.5
Ralf
@Ralf1108
Apr 18 2016 07:27
ok cool :-)
would be cool to support scenarios for multi process akka systems without opening a port and hassle with firewall rules
Kris Schepers
@schepersk
Apr 18 2016 07:32
indeed..
Aleksandrs
@sonicflare
Apr 18 2016 07:50
Can somebody shine a light on what happened to AsyncBehavior.Suspend/AyncBehavior.Reentrant on Receive? I need to do bunch of operations, but i dont want to waste thread on blocking, and Suspend is the thing that im looking for
Jeff Cyr
@JeffCyr
Apr 18 2016 08:00
@sonicflare Are you looking for ReceiveAsync<T>(Func<T, Task>)?
AsyncBehavior got dropped a long time ago, only Suspend is supported now, there is an overload of Receive that accepts a Func<T, Task> it have been renamed to ReceiveAsync in 1.0.7
Aleksandrs
@sonicflare
Apr 18 2016 08:02
@JeffCyr looks like it, and it does the suspend by default? So while it is waiting for stuff to complete, no other messages for this actor is processes, right?
Jeff Cyr
@JeffCyr
Apr 18 2016 08:02
That's right
Aleksandrs
@sonicflare
Apr 18 2016 08:02
@JeffCyr thanks!
Jeff Cyr
@JeffCyr
Apr 18 2016 08:02
np!
Grzegorz Bernas
@profesor79
Apr 18 2016 22:14
hi guys, just found this question on SO is there a way to use app.json .net core with HOCON