public IWorkerChain Post <TData>(IActionInvoker <TData> actionInvoker, TData data) { var internalWorkerWalue = new InternalWorkerValue <TData>(actionInvoker, data); _workerChainDefaults.Enqueue(internalWorkerWalue); return(this); }
protected override void OnComplete(WorkerCompletedData datas) { var worker = new InternalWorkerValue <WorkerCompletedData>(_actionInvoker, datas); _queueWorker.Post(worker); }