Function Reactor.currentFiberId

Returns the FiberId of the currently running fiber.

mecca.lib.typedid.RawTypedIdentifier!("FiberId",ushort,65535,65535,mecca.log.FMT("0x{_value!%04X}"),false) currentFiberId () nothrow @property @nogc @safe const;

You should almost never store the FiberId for later comparison or pass it to another fiber. Doing so risks having the current fiber die and another one spawned with the same FiberId. If that's what you want to do, use currentFiberHandle instead.