These are chat archives for akkadotnet/akka.net

29th
Mar 2015
Bartosz Sypytkowski
@Horusiath
Mar 29 2015 14:51
@rogeralsing When I've got an async task inside actor receive, how can I ensure that it's continuation will be able to use actor's context in any way? Or am I forced to use PipeTo?
Roger Johansson
@rogeralsing
Mar 29 2015 14:53
There is an overload of Receive that takes an Func<TMessage,Task> , if you use that method, we apply the actor task scheduler and tasks will be scheduled to run inside the actor context
Or. you simply copy Self to self .. var self = Self before invoking the tasks.
@Aaronontheweb fixed one such bug in persistence in his latest dispatcher PR
you only need the Self ref there, right? or do you need to set actor state?
Bartosz Sypytkowski
@Horusiath
Mar 29 2015 14:57
I've seen that trick once in canonical akka source code
hopefully it will be enough
Bartosz Sypytkowski
@Horusiath
Mar 29 2015 15:04
worked :)
Roger Johansson
@rogeralsing
Mar 29 2015 15:05
:+1:
@HCanber @Aaronontheweb which PR do we merge first? which one results in the least amount of re-work? as I take it that they will both break eachother
Roger Johansson
@rogeralsing
Mar 29 2015 15:32
@/all should we really have the Wiki issues mixed with the framework issues on the main repo? the wiki pages are part of the main repo, but imo, it gets a bit messy, no?
Aaron Stannard
@Aaronontheweb
Mar 29 2015 17:48
well the Chinese government is certainly giving Github and our build server a hard time today http://motherboard.vice.com/read/did-china-just-launch-a-cyber-attack-on-github
poor old TeamCity can't fetch its latest from Version Control :(