示例#1
0
        public static void PerformAsync(this Action job, DateTime runAt, int?priority = null)
        {
            var inner = new DelegateJob(() => { job(); return(true); });

            Linger.QueueForExecution(inner, priority ?? Linger.DefaultPriority, runAt);
        }
 public static void PerformAsync(this Action job, DateTime runAt, int? priority = null)
 {
     var inner = new DelegateJob(() => { job(); return true; });
     Linger.QueueForExecution(inner, priority ?? Linger.DefaultPriority, runAt);
 }