Returns the generation result after all content has been consumed.
func result() -> GenerationResult
GenerationResult