ScopedRegistration.detach

bool detach() @safe

Detach the underlying registration manually.

Calling detach() suppresses the automatic destructor cleanup. The call is idempotent.

Returns

true when the registration was successfully detached.