Пример #1
0
            public IDisposable Schedule(Action action)
            {
                var d = new BooleanDisposable();

                MainThreadDispatcher.Post(scheduleAction, Tuple.Create(d, action));
                return(d);
            }
Пример #2
0
 public void ScheduleQueueing <T>(ICancelable cancel, T state, Action <T> action)
 {
     MainThreadDispatcher.Post(QueuedAction <T> .Instance, Tuple.Create(cancel, state, action));
 }