Step-by-step explanation:
Stream of consciousness is a technique in literature that shows the exact flow of thoughts within a particular character as they develop. A character may be walking around and thinking, and if a writer chooses to describe his or her exact thoughts as they are happening, then that would be stream of consciousness.
Here are some examples:
"Note to self: Buy brown eggs. Definitely not white eggs; Ruth always yells when I get white eggs, but then she yells a lot anyway because she probably grew up in - wait, what color egg did she want?"
"When I land, I'll first see my aunt and then my uncle, my uncle who always has some crazy project in his workshop — won't this flight ever end?"