private IEnumerator<IYield> Task1(Task task) { //System.Console.WriteLine("test"); task.Response(new JValue(321)); Netronics.Scheduling.Scheduler.Default.RunMicrothread(0, new Microthread(()=>TestMethod1(task.GetAnt()))); yield return null; }