Facile construction of gas diode membrane towards in situ gas consumption via coupling two chemical reactions.