RegistrationBag.clear

void clear() @safe

Detach all registrations held by this bag.

Idempotent: registrations that were already detached (manually, via detachAll, or because the source hap was destroyed) are silently skipped. After clear(), the bag is empty and can be reused.