Beispiel #1
0
        public void BTActor_SchedulTell()
        {
            IScheduler scheduler = new HashedWheelTimerScheduler(Sys.Settings.Config, Log);

            var cancellable = scheduler.ScheduleTellOnceCancelable(100.Milliseconds(), TestActor, "Test", ActorRefs.NoSender);

            ExpectMsg("Test");

            scheduler.AsInstanceOf<IDisposable>().Dispose();
        }