One key point is nothing happens instantaneously.
In "equilibrium," yes, there will be a specific amount of a gas dissolved in a liquid as a function of the partial pressure of the gas, the type of liquid it is sitting on and the temperature of the system.
Given time to reach equilibrium...