FiberBase.reset
void reset() nothrow @nogcResets this fiber so that it may be re-used, optionally with a new function/delegate. This routine should only be called for fibers that have terminated, as doing otherwise could result in scope-dependent functionality that is not executed. Stack-based classes, for example, may not be cleaned up properly if a fiber is reset before it has terminated.
In: This fiber must be in state TERM or HOLD.
void reset( void function() fn ) nothrow @nogcditto
void reset( void delegate() dg ) nothrow @nogcditto