Beispiel #1
0
 public static void Schedule(TimeSpan interval, IActorRef receiver, object message, Akka.Actor.IScheduler scheduler)
 {
     scheduler.ScheduleTellRepeatedly(interval, interval, receiver, message, ActorRefs.NoSender);
 }
Beispiel #2
0
 public static ICancelable ScheduleOnce(TimeSpan delay, IActorRef receiver, object message, Akka.Actor.IScheduler scheduler)
 {
     return(scheduler.ScheduleTellOnceCancelable(delay, receiver, message, ActorRefs.NoSender));
 }