stream of consciousness

noun

1.
a literary genre that reveals a character's thoughts and feeling as they develop by means of a long soliloquy
2.
the continuous flow of ideas and feelings that constitute an individual's conscious experience