Context: Y has just told X that he/she is thinking of buying a flat in New York.

X: Can you deal with the commute?
Y: That depends on how the job pans out.