means that one thing can happen if another thing happens first
You can stay as long as you help me clean up.
내가 청소하는 것을 도와주는 한 당신은 남아도 됩니다.