UEFiber.reset

resets the Fiber to be reused with another method

class UEFiber
void
reset
(
T
)
(
T fn
)
if ()

Examples

usage of reset

{
	bool res;
	auto fiber = new UEFiber(cast(UEFiberDelegate) { res = false; });
	fiber.reset(cast(UEFiberDelegate) { res = true; });
	fiber.call();
	assert(res)

Meta