I found that I want to set the tagger on the document. The currently known method is to inherit TaggerBase. Then return tagger data in the GetTags method.
But getting tag data is a time-consuming operation for me, which will cause the editing experience to be unsmooth.
I see that have an object type parameter can be passed in the GetTags method. Can I pass the tagger data to the editor actively?