and the question is how to enforce Draw message to be send with the new datetime eachtime ?
(its f# related question)
it seems that this is being cached
even if I use getDate() method
tried with fun()-> Draw(DateTime.UtcNow) - but still same behaviour
should I write my schedules in C# ? :D
Zetanova
@Zetanova
@aph5nt fun()-> Draw(DateTime.UtcNow) shoudl work. maybe if u miss some executions and the scheduler is queuing/executiong them rapitly later.
Zetanova
@Zetanova
@aph5nt Near all graphic engines using a dedicated thread to render and maybe double buffering for it. YOu can use the same thread or create a deticted for your rendering too. you can use the scheduler not for doing "work" just set an AutoResetEvent on it.
Kamil Wojciechowski
@aph5nt
@Zetanova : I used System.Threading.Timer as a workaround - works fine now
Kamil Wojciechowski
@aph5nt
What is the proper way for recovering persistend actor from failure? I can handle a RecoveryFailure message
but what should I do then ? return state ?
| :? RecoveryFailure as e -> state
??
Bartosz Sypytkowski
@Horusiath
@aph5nt bascially, the best way is to stop an actor and recover it later in the future