How to transfer data within a CallCommand method to the outside

https://api.onlyoffice.com/editors/connector#callCommand

we know use [Asc.scope] make data to passed to inside, but how to transfer data outside?
This will be very useful when obtaining data after ToJSON()

When is the callback of a callCommand useful?The parameter for this callback is always empty

Machine translation, sorry. We are currently undergoing technical validation to consider purchasing corporate authorization. Thank you

Hey, @saopanda

Perhaps something from this topic will be useful to you
How plugins interact with documents for data