OneShotRegistration.attached

bool attached() const @safe nothrow @nogc

Determine whether the one-shot handler has not yet fired and has not been cancelled.

Returns

true when the one-shot is still pending.