NothrowHap.detachAll

void detachAll() @safe nothrow

Detach all handlers.

Handlers from an already-captured dispatch snapshot may still run during the current emit; subsequent emits see the empty handler list unless new handlers are attached after this call.