The American Civil War manufactured quite a few this sort of weapons, starting from so-known as “volley” guns that sprayed several rifle bullets abruptly like a shotgun, to multishot, semi-automatic weapons similar to the Agar machine gun, which was nicknamed the “espresso grinder” for your way it fed its ammunition. https://machguns.com/product/m10-45-acp-powder-springs-excellent-13007156/