The movie Once Upon A Time In America is lavish in its cinematography. But the end unwinds without a satisfying resolution.

I have a hard time understanding everything beyond when De Niro's character arrives at the dinner party at the end. What was up with the trash truck scene? Are we to infer that his life really ended in the opium den, and that everything that happened afterward is only delusion?