public IDisposable Schedule(Action action) { var d = new BooleanDisposable(); MainThreadDispatcher.Post(scheduleAction, Tuple.Create(d, action)); return(d); }
public void ScheduleQueueing <T>(ICancelable cancel, T state, Action <T> action) { MainThreadDispatcher.Post(QueuedAction <T> .Instance, Tuple.Create(cancel, state, action)); }