Close all notifications - all at once?

Hi,

is there a way to make this action work faster? Right now it is very slow and it closes the notifications one by one. Instead, it could simply close them all together. Is that working slowly just for me? If not - maybe it could be somehow improved?

depends a bit in the macOS version (15.1), on the latest sequoia versions it’s faster