Types of fiction with multiple endings

A narrative typically ends in one set way, but certain kinds of narrative allow for multiple endings.