From the documentation:
Each loader is connected to an invisible chest. Periodic Lua scripting teleports items from the chest on the surface to the matching chest underground, or vice versa
The items are going into a buffer chest, and they will stop flowing when the buffer chest is full. Buffer chests are automatically sized to hold approximately 10 seconds worth of items, based on the speed of the belt. If you mine the connectors, any items in the buffer will be returned to your character's inventory, or spilled on the ground if your inventory is full.