means that one thing can happen if another thing happens first
You can stay as long as you help me clean up.
只要你幫我清理,你就可以留下來。