The American Civil War manufactured quite a few this kind of weapons, ranging from so-identified as “volley” guns that sprayed numerous rifle bullets suddenly similar to a shotgun, to multishot, semi-automatic weapons like the Agar machine gun, which was nicknamed the “espresso grinder” with the way it fed its ammunition. https://machguns.com/product/american-180-tuned-by-val-cooper-excellent-w-extras-b01033/