He was about to tell me the secret ______ someone patted him on the shoulder.
A. as B. until
C. when D. while
C