Function testWithReactor
Run a test inside a reactor
int testWithReactor
(
int delegate() dg,
Reactor . OpenOptions options = Reactor .OpenOptions .init
);
void testWithReactor
(
void delegate() dg,
Reactor . OpenOptions options = Reactor .OpenOptions .init
);
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.