Exemplo n.º 1
0
 private static void FirstUpdate(Fiber fiber) => fiber.Go();
Exemplo n.º 2
0
 private void BreakTo(Fiber fiber)
 {
 }
Exemplo n.º 3
0
 /// <a href="http://bit.ly/2CV0RNn">Wait for another fiber to complete, starting it if needed</a>
 public Fiber WaitFor(Fiber anotherFiber)
 {
     WaitFor(PrepareAnotherFiber(anotherFiber).OnComplete, "WaitFor(Fiber)");
     Do(_ => anotherFiber.Go());
     return(this);
 }
Exemplo n.º 4
0
 /// <a href="http://bit.ly/2NjSGNX">Add all the steps you need to this override. It is called by the constructor.</a>
 protected abstract void Activities(Fiber fiberToUpdate);