YO @ end of row?

How do you make and retain a YO at the end of a row, such as is called for in a version of Dbl Brioche st? This is confusing.

Do you yo before you do the last stitch? Yeah that makes no sense do a YO after the last stitch?:shrug:

This was raised and discussed on another forum/thread recently and I can’t think where it was or the details of the solution. I believe it may have been a bikini pattern so perhaps try that as a search. I think the person was led to understand that the yo made sense given the first stitch of the following row…I think