public RemoteTask([NotNull] Task task, TimeSpan taskTtl, IHandleTaskCollection handleTaskCollection) { this.task = task; this.taskTtl = taskTtl; this.handleTaskCollection = handleTaskCollection; }
public RemoteTaskWithContinuationOptimization([NotNull] Task task, TimeSpan taskTtl, [NotNull] IHandleTaskCollection handleTaskCollection, [NotNull] ILocalTaskQueue localTaskQueue) : base(task, taskTtl, handleTaskCollection) { this.localTaskQueue = localTaskQueue; }