Esempio n. 1
0
 internal static void Terminate <X>(ref Worker wr, Cont <X> xK)
 {
     if (null != xK)
     {
         xK.DoWork(ref wr);
     }
 }
Esempio n. 2
0
            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);
                }
            }
Esempio n. 3
0
 internal override void DoJob(ref Worker wr, Cont <Unit> uK)
 {
     uK.DoWork(ref wr);
 }