internal static void Terminate <X>(ref Worker wr, Cont <X> xK) { if (null != xK) { xK.DoWork(ref wr); } }
internal override void DoWork(ref Worker wr) { var uT = this.uT; if (TaskStatus.RanToCompletion == uT.Status) { uK.DoWork(ref wr); } else { uK.DoHandle(ref wr, uT.Exception); } }
internal override void DoJob(ref Worker wr, Cont <Unit> uK) { uK.DoWork(ref wr); }