A literary technique is any method an author uses to tell their message. This makes it easy to tell them from literary elements, which are mostly found in literature. Stream of consciousness writing is an exemple of literary techniques.