Mysteries and detective fiction enable readers to both be in and out of a story. The most famous, of course, are the Sherlock Holmes mysteries, which Michael Chabon says are the essence of literary criticism.
Chabon has written extensively on Holmes, namely the chapter from his new non-fiction collection of essays, Maps and Legends, in the chapter called, "Fan Fictions." He says:
And yet there is a degree to which, just as all criticism is in essence Sherlockian, all literature, highbrow or low, from the Aeneid onward, is fan fiction. That is why Harold Bloom's notion of the anxiety of influence has always rung so hollow to me. Through parody and pastiche, allusion and homage, retelling and reimagining the stories that were told before us and that we have come of age loving—amateurs—we proceed, seeking out the blank places in the map that our favorite writers, in their greatness and negligence, have left for us, hoping to pass on to our own readers—should we be lucky enough to find any—some of the pleasure that we ourselves have taken in the stuff we love: to get in on the game. All novels are sequels; influence is bliss.