Limitations of createTemporaryDocument?

According to the documentation: “there are limitations with some editing features.”

(https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/photoshopcore/#createtemporarydocument)

I am trying to create a temporary document and convert it to grayscale. It seems this does not work, and so far, I have not been able to find a single editing feature that does work. Does createTemporaryDocument support anything at all, is there a place to see what is supported? This feature would be super nice to utilize, and I’ve spent hours now trying to get it work, but coming to the conclusion that these features just might not be supported.

I’m interested in that too.