protected internal Future CallOnBackground(Action del) { Future future = new EmptyFuture(del); this.CallOnBackground(future); return(future); }
/// <summary> /// Create a future for the specified delegate /// </summary> /// <param name="del"></param> /// <returns></returns> public static Future Create(Action del) { Future future = new EmptyFuture(del); future.RunInThreadPool(); return(future); }