testWithReactor

Run a test inside a reactor

This is a convenience function for running a UT as a reactor fiber. A new reactor will be initialized, dg called and the reactor will automatically stop when dg is done.

  1. int testWithReactor(int delegate() dg, Reactor.OpenOptions options)
    version(unittest)
    int
    testWithReactor
  2. void testWithReactor(void delegate() dg, Reactor.OpenOptions options)

Meta