Force Output as Result - Does anyone have a real working example of this

the example in the docs is minimal and I’d love to see how someone has used this effectively.