Esempio n. 1
0
 private static void NextAction(Fiber fiber)
 {
     try {
         while (!fiber.NoMoreActions())
         {
             var act = fiber.SetAction(fiber.action.Previous);
             act.Item.Actor(fiber);
             if (!act.Item.sameFrame)
             {
                 return;
             }
         }
     } catch (Exception e) {
         fiber.onError(e.ToString());
         if (fiber.exitOnError)
         {
             fiber.Exit();
         }
     }
 }
Esempio n. 2
0
 /// <a href="http://bit.ly/2RvUjg9">Stop displaying messages after the current one is done</a>
 public void Stop() => showFiber.Exit();