The pyloric pump of the stomach empties what's inside the stomach into the duodenum.
The pump is activated when the stomach distends. The pump is inhibited when there's acid inside the duodenum. The pump is also inhibited if there are substances difficult tot digest inside the duodenum.