These are chat archives for petabridge/akka-bootcamp

4th
Feb 2016
Koen Metsu
@koenmetsu
Feb 04 2016 06:33
@Horusiath can't seem to find it, is it via mailbox.Context.System.Scheduler ?
Bartosz Sypytkowski
@Horusiath
Feb 04 2016 06:51
@koenmetsu sorry, I forgot, that this may be an extension method
Koen Metsu
@koenmetsu
Feb 04 2016 06:56
well at least it's consistent for me so far
mailbox.Context.System.Scheduler.Advanced.ScheduleRepeatedly(
            TimeSpan.FromSeconds 2.,
            TimeSpan.FromSeconds 2.,
            (fun () -> monitorPinger <! message),
            Actor.Cancelable.CreateCanceled())

does not work while

mailbox.Context.System.Scheduler.Advanced.ScheduleRepeatedly(
            TimeSpan.FromSeconds 2.,
            TimeSpan.FromSeconds 2.,
            (fun () -> monitorPinger <! message))

does work...

found the cancellable, will check if that one works
@Horusiath but if I'm correct about what I'm posting, is that a bug or am I doing something wrong?
Bartosz Sypytkowski
@Horusiath
Feb 04 2016 07:00
tbh, all versions should work - could you set an issue on the github with some details about that case?
Koen Metsu
@koenmetsu
Feb 04 2016 07:00
sure thing
Koen Metsu
@koenmetsu
Feb 04 2016 07:49
the one that returns cancellable works btw
Koen Metsu
@koenmetsu
Feb 04 2016 07:59
issue created at akkadotnet/akka.net#1688