by-and-by (Noun) — An indefinite time in the future. ex. "he'll get around to it in the sweet by-and-by"
by-and-by (Adverb) — At some eventual time in the future. ex. "By and by he'll understand"